@vixoniccom/module-packager 2.5.0-dev.10 → 2.5.0-dev.12

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.5.0-dev.12](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.11...v2.5.0-dev.12) (2021-08-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **release:** clean webpack plugin was upgrated ([c4a5103](https://gitlab.com/mandomedio/vixonic/module-packager/commit/c4a51030b9dc9402b183cd9cab1e15c41b510855))
11
+
12
+ ## [2.5.0-dev.11](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.10...v2.5.0-dev.11) (2021-08-20)
13
+
5
14
  ## [2.5.0-dev.10](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.9...v2.5.0-dev.10) (2021-08-20)
6
15
 
7
16
  ## [2.5.0-dev.9](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.8...v2.5.0-dev.9) (2021-08-20)
package/package.json CHANGED
@@ -60,7 +60,6 @@
60
60
  "babel-polyfill": "^6.26.0",
61
61
  "babel-preset-env": "^1.7.0",
62
62
  "babel-preset-react": "^6.24.1",
63
- "clean-webpack-plugin": "^1.0.1",
64
63
  "cli-color": "^2.0.0",
65
64
  "command-line-args": "^5.2.0",
66
65
  "copy-webpack-plugin": "^9.0.1",
@@ -102,8 +101,9 @@
102
101
  "release": "standard-version",
103
102
  "prerelease-dev": "standard-version --prerelease dev"
104
103
  },
105
- "version": "2.5.0-dev.10",
104
+ "version": "2.5.0-dev.12",
106
105
  "devDependencies": {
106
+ "clean-webpack-plugin": "^4.0.0-alpha.0",
107
107
  "standard-version": "^9.3.1"
108
108
  }
109
109
  }
package/webpack.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const CleanWebpackPlugin = require('clean-webpack-plugin')
3
+ const { CleanWebpackPlugin } = require('clean-webpack-plugin')
4
4
  const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
5
5
  const CopyWebpackPlugin = require('copy-webpack-plugin')
6
6
  const HtmlWebpackPlugin = require('html-webpack-plugin')
@@ -57,9 +57,13 @@ module.exports = (options) => {
57
57
  test: /\.(j|t)sx?$/,
58
58
  include: [path.resolve(options.src)],
59
59
  exclude: exclude,
60
- rules: [
60
+ use: [
61
61
  {
62
- loader: 'babel-loader?babelrc=false&extends=' + path.join(__dirname, '/.babelrc')
62
+ loader: 'babel-loader',
63
+ options: {
64
+ babelrc: false,
65
+ extends: path.join(__dirname, '/.babelrc')
66
+ }
63
67
  },
64
68
  {
65
69
  loader: 'awesome-typescript-loader',
@@ -145,10 +149,7 @@ module.exports = (options) => {
145
149
  }
146
150
  } else {
147
151
  config.plugins.unshift(
148
- new CleanWebpackPlugin([path.basename(options.build), path.basename(options.build) + '.zip'], {
149
- root: path.resolve(options.build, '..'),
150
- verbose: false
151
- }),
152
+ new CleanWebpackPlugin([path.basename(options.build), path.basename(options.build) + '.zip']),
152
153
  new webpack.DefinePlugin({
153
154
  'process.env': {
154
155
  NODE_ENV: JSON.stringify('production')