Skip to content

Commit 62c7f48

Browse files
committed
Remove UglifyJs plugin
1 parent 64bc50f commit 62c7f48

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

webpack.config.js

-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const webpack = require('webpack');
3-
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
43
const { options: postgraphileOptions } = require('./src/postgraphileOptions.js');
54

65
module.exports = {
@@ -43,15 +42,4 @@ module.exports = {
4342
node: {
4443
__dirname: false, // just output `__dirname`
4544
},
46-
optimization: {
47-
minimizer: [
48-
new UglifyJsPlugin({
49-
uglifyOptions: {
50-
// Without this, you may get errors such as
51-
// `Error: GraphQL conflict for 'e' detected! Multiple versions of graphql exist in your node_modules?`
52-
mangle: false,
53-
},
54-
}),
55-
],
56-
},
5745
};

0 commit comments

Comments
 (0)