Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit aef6f7d

Browse files
author
george
committed
update webpack build
1 parent 5c096dd commit aef6f7d

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

config/webpack.prod.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
const merge = require("webpack-merge")
22
const CompressionPlugin = require("compression-webpack-plugin")
33
const 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")
65
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin")
76

87
module.exports = merge(common, {
98
optimization: {
109
splitChunks: { chunks: "all" },
11-
minimizer: [
12-
new UglifyJsPlugin({
13-
exclude: /\/node_modules/,
14-
cache: true,
15-
parallel: true,
16-
sourceMap: false,
17-
}),
18-
],
1910
runtimeChunk: {
2011
name: "manifest",
2112
},

0 commit comments

Comments
 (0)