Skip to content

Commit

Permalink
Remove terser memory optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jul 8, 2019
1 parent 0ca4778 commit c50916e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions examples/official-storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path');
const TerserWebpackPlugin = require('terser-webpack-plugin');

module.exports = async ({ config }) => ({
...config,
Expand Down Expand Up @@ -55,21 +54,4 @@ module.exports = async ({ config }) => ({
...config.resolve,
extensions: [...(config.resolve.extensions || []), '.ts', '.tsx'],
},
optimization: {
splitChunks: {
chunks: 'all',
},
runtimeChunk: true,
minimizer: [
new TerserWebpackPlugin({
cache: false,
parallel: false,
sourceMap: false,
terserOptions: {
mangle: false,
keep_fnames: true,
},
}),
],
},
});

0 comments on commit c50916e

Please sign in to comment.