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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ?? '/';