-
-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancements: add better scaffold to generator
- Loading branch information
1 parent
907a1f7
commit c58f793
Showing
3 changed files
with
67 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module.exports = { | ||
uglify: () => { | ||
return (`/* | ||
* We've enabled UglifyJSPlugin for you! This minifies your app | ||
* in order to load faster and run less javascript. | ||
* | ||
* https://github.com/webpack-contrib/uglifyjs-webpack-plugin | ||
* | ||
*/`); | ||
}, | ||
commonsChunk: () => { | ||
return (`/* | ||
* We've enabled commonsChunkPlugin for you. This allows your app to | ||
* load faster and it splits the modules you provided as entries across | ||
* different bundles! | ||
* | ||
* https://webpack.js.org/plugins/commons-chunk-plugin/ | ||
* | ||
*/`); | ||
}, | ||
cssPlugin: () => { | ||
return( | ||
`/* | ||
* We've enabled ExtractTextPlugin for you. This allows your app to | ||
* use css modules that will be moved into a seperate CSS file instead of inside | ||
* one of your module entries! | ||
* | ||
* https://github.com/webpack-contrib/extract-text-webpack-plugin | ||
* | ||
*/`); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters