mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: update build infra & performance improvements
This commit is contained in:
@@ -10,6 +10,9 @@ const EXCLUDE_CIDRS = [
|
||||
'223.120.0.0/15'
|
||||
];
|
||||
|
||||
// preload the module
|
||||
import('cidr-tools-wasm');
|
||||
|
||||
export const buildChnCidr = task(import.meta.path, async () => {
|
||||
const [{ exclude }, cidr] = await Promise.all([
|
||||
import('cidr-tools-wasm'),
|
||||
|
||||
Reference in New Issue
Block a user