don't hate me, old git is fuck up
This commit is contained in:
13
next.config.js
Normal file
13
next.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const removeImports = require('next-remove-imports')();
|
||||
|
||||
module.exports = removeImports({
|
||||
reactStrictMode: false,
|
||||
swcMinify: true,
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.experiments = { ...config.experiments, topLevelAwait: true };
|
||||
return config;
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user