@optimajet/workflow-designer 12.3.0 → 12.4.0

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/README.md CHANGED
@@ -93,7 +93,7 @@ npm i -D webpack webpack-cli
93
93
  Next, add the packages necessary for the correct webpack setup
94
94
 
95
95
  ```shell
96
- npm i -D @babel/preset-env @babel/core babel-loader css-loader html-webpack-plugin mini-css-extract-plugin uglifyjs-webpack-plugin
96
+ npm i -D @babel/preset-env @babel/core babel-loader css-loader html-webpack-plugin mini-css-extract-plugin terser-webpack-plugin
97
97
  ```
98
98
 
99
99
  The basic webpack configuration looks like this:
@@ -102,7 +102,7 @@ The basic webpack configuration looks like this:
102
102
  const HtmlWebpackPlugin = require('html-webpack-plugin'); // for generate an HTML5 file
103
103
  const path = require('path')
104
104
  const MiniCssExtractPlugin = require("mini-css-extract-plugin"); // to extract CSS into separate files
105
- const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); // to minify your JavaScript
105
+ const TerserPlugin = require('terser-webpack-plugin'); // to minify your JavaScript
106
106
  const webpack = require('webpack');
107
107
 
108
108
 
@@ -111,14 +111,14 @@ module.exports = () => ({
111
111
  wfesample: './src/index.js',
112
112
  },
113
113
  output: {
114
- path: path.resolve(__dirname, 'dist'),
114
+ path: path.resolve(__dirname, 'dist'),
115
115
  filename: '[name].min.js',
116
116
  libraryTarget: "umd",
117
117
  },
118
118
  mode:'production',
119
-
119
+
120
120
  optimization: {
121
- minimizer: [new UglifyJsPlugin()],
121
+ minimizer: [new TerserPlugin()],
122
122
  },
123
123
  module: {
124
124
  rules: [
@@ -226,4 +226,4 @@ Ctrl + Z - Undo
226
226
  Arrows - Moving selected items
227
227
  Delete - Delete
228
228
  Alt + Enter - Full Screen Mode
229
- Ctrl + M - Move mode
229
+ Ctrl + M - Move mode