build: use swc (#839)

This commit is contained in:
Flrande
2023-02-09 04:53:30 +08:00
committed by GitHub
parent 75435e1c69
commit 7583205011
+3
View File
@@ -68,6 +68,9 @@ const nextConfig = {
return profile;
},
basePath: process.env.BASE_PATH,
experimental: {
forceSwcTransforms: true,
},
};
const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';