mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 23:16:49 +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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"post-build": "next-sitemap --config next-sitemap.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/bundle-analyzer": "^12.1.1",
|
||||
"@popperjs/core": "^2.9.3",
|
||||
"animate.css": "^4.1.1",
|
||||
"axios": ">=0.21.1",
|
||||
|
||||
Reference in New Issue
Block a user