This repository was archived by the owner on Oct 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ What does Undernet include?
1313- Interactive components powered by JavaScript.
1414- Highly brandable and extendable.
1515
16+ The main site, https://undernet.io , is deployed using [ Netlify] ( https://www.netlify.com/ ) .
17+
1618## Install via npm or yarn
1719
1820``` sh
Original file line number Diff line number Diff line change 11const merge = require ( "webpack-merge" )
22const CompressionPlugin = require ( "compression-webpack-plugin" )
33const common = require ( "../webpack.common.js" )
4- const CleanWebpackPlugin = require ( "clean-webpack-plugin" )
5- const UglifyJsPlugin = require ( "uglifyjs-webpack-plugin" )
4+ const { CleanWebpackPlugin } = require ( "clean-webpack-plugin" )
65const OptimizeCSSAssetsPlugin = require ( "optimize-css-assets-webpack-plugin" )
76
87module . exports = merge ( common , {
98 optimization : {
109 splitChunks : { chunks : "all" } ,
11- minimizer : [
12- new UglifyJsPlugin ( {
13- exclude : / \/ n o d e _ m o d u l e s / ,
14- cache : true ,
15- parallel : true ,
16- sourceMap : false ,
17- } ) ,
18- ] ,
1910 runtimeChunk : {
2011 name : "manifest" ,
2112 } ,
You can’t perform that action at this time.
0 commit comments