File tree 3 files changed +309
-115
lines changed
3 files changed +309
-115
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ const nextConfig = {
7
7
}
8
8
}
9
9
10
- module . exports = nextConfig
10
+ const withBundleAnalyzer = require ( '@next/bundle-analyzer' ) ( {
11
+ enabled : process . env . ANALYZE === 'true' ,
12
+ } )
13
+ module . exports = withBundleAnalyzer ( nextConfig )
Original file line number Diff line number Diff line change 4
4
"scripts" : {
5
5
"dev" : " next dev" ,
6
6
"build" : " next build" ,
7
+ "analyze" : " cross-env ANALYZE=true yarn build" ,
7
8
"start" : " next start" ,
8
9
"lint" : " next lint" ,
9
10
"add-formation" : " yarn add @avsync.live/formation" ,
10
11
"reformation" : " yarn remove @avsync.live/formation && rm -rf ./node_modules/@avsync.live/formation && yarn add-formation"
11
12
},
12
13
"dependencies" : {
13
- "@avsync.live/formation" : " ^0.9.146 " ,
14
+ "@avsync.live/formation" : " ^0.9.163 " ,
14
15
"@fortawesome/fontawesome-svg-core" : " ^6.1.2" ,
16
+ "@next/bundle-analyzer" : " ^13.4.12" ,
15
17
"@types/styled-components" : " ^5.1.26" ,
18
+ "cross-env" : " ^7.0.3" ,
16
19
"next" : " 12.2.5" ,
17
20
"react" : " 18.2.0" ,
18
21
"react-dom" : " 18.2.0" ,
You can’t perform that action at this time.
0 commit comments