Chore: update build infra & performance improvements

This commit is contained in:
SukkaW
2023-11-29 21:50:10 +08:00
parent f14a604264
commit 34c67e5a0d
8 changed files with 146 additions and 29 deletions

View File

@@ -22,6 +22,9 @@ const RESERVED_IPV4_CIDR = [
'240.0.0.0/4'
];
// preload the module
import('cidr-tools-wasm');
export const buildInternalReverseChnCIDR = task(import.meta.path, async () => {
const [{ exclude }, cidr] = await Promise.all([
import('cidr-tools-wasm'),