mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 23:16:52 +00:00
依赖包分析
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
module.exports = {
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: process.env.ANALYZE === 'true'
|
||||
})
|
||||
module.exports = withBundleAnalyzer({
|
||||
future: {
|
||||
webpack5: true
|
||||
},
|
||||
@@ -29,4 +32,4 @@ module.exports = {
|
||||
}
|
||||
return config
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user