File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
{{cookiecutter.project_shortname}} Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ include {{cookiecutter.project_shortname}}/{{cookiecutter.project_shortname}}.mi
22include {{cookiecutter.project_shortname}}/{{cookiecutter.project_shortname}}.min.js.map
33include {{cookiecutter.project_shortname}}/async-*.js
44include {{cookiecutter.project_shortname}}/async-*.js.map
5+ include {{cookiecutter.project_shortname}}/*-shared.js
6+ include {{cookiecutter.project_shortname}}/*-shared.js.map
57include {{cookiecutter.project_shortname}}/metadata.json
68include {{cookiecutter.project_shortname}}/package-info.json
79include README.md
Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ module.exports = (env, argv) => {
102102 name ( module , chunks , cacheGroupKey ) {
103103 return `${ cacheGroupKey } -${ chunks [ 0 ] . name } ` ;
104104 }
105+ } ,
106+ shared : {
107+ chunks : 'all' ,
108+ minSize : 0 ,
109+ minChunks : 2 ,
110+ name : '{{cookiecutter.project_shortname}}-shared'
105111 }
106112 }
107113 }
You can’t perform that action at this time.
0 commit comments