@loftyshaky/shared 0.0.41 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ const shared_config = ({
5
5
  webpack,
6
6
  argv,
7
7
  env,
8
+ TerserPlugin,
8
9
  MiniCssExtractPlugin,
9
10
  CssMinimizerPlugin,
10
11
  CopyWebpackPlugin,
@@ -123,7 +124,8 @@ const shared_config = ({
123
124
  target: 'web',
124
125
  devtool: false,
125
126
  optimization: {
126
- minimizer: [new CssMinimizerPlugin()],
127
+ minimize: argv.mode === 'production',
128
+ minimizer: [new TerserPlugin(), new CssMinimizerPlugin()],
127
129
  sideEffects: argv.mode === 'production',
128
130
  },
129
131
  performance: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loftyshaky/shared",
3
3
  "description": "-",
4
- "version": "0.0.41",
4
+ "version": "0.0.42",
5
5
  "author": "loftyshaky",
6
6
  "license": "MIT",
7
7
  "repository": {