@machtwatch/react-script 1.2.10 → 1.2.11-alpha.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@machtwatch/react-script",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11-alpha.4",
|
|
4
4
|
"description": "Machtwatch React script",
|
|
5
5
|
"author": "Danny Reza Miloen <danny@machtwatch.co.id>",
|
|
6
6
|
"contributors": [],
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"@babel/plugin-proposal-function-bind": "^7.16.7",
|
|
41
41
|
"@babel/plugin-proposal-json-strings": "^7.17.12",
|
|
42
42
|
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
|
|
43
|
+
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
44
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
43
45
|
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
|
|
44
46
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
45
47
|
"@babel/plugin-transform-react-constant-elements": "^7.17.12",
|
|
@@ -11,7 +11,6 @@ const PurgecssPlugin = require('purgecss-webpack-plugin');
|
|
|
11
11
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
12
12
|
const LoadablePlugin = require('@loadable/webpack-plugin');
|
|
13
13
|
const WorkboxPlugin = require('workbox-webpack-plugin');
|
|
14
|
-
const StyleLintPlugin = require('stylelint-webpack-plugin');
|
|
15
14
|
const ImageminWebpWebpackPlugin = require('imagemin-webp-webpack-plugin');
|
|
16
15
|
const SimpleProgressWebpackPlugin = require('simple-progress-webpack-plugin');
|
|
17
16
|
const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity');
|
|
@@ -162,8 +161,7 @@ const webpackConfig = ({ isClient }) => ({
|
|
|
162
161
|
extensions: ['.js', '.jsx', '.mjs'],
|
|
163
162
|
modules: [paths.appSrc, path.resolve(paths.appSrc, 'node_modules'), 'node_modules', './node_modules'],
|
|
164
163
|
alias: {
|
|
165
|
-
build: paths.appBuild
|
|
166
|
-
helpers: path.resolve(paths.appSrc, 'helpers')
|
|
164
|
+
build: paths.appBuild
|
|
167
165
|
},
|
|
168
166
|
},
|
|
169
167
|
|
|
@@ -483,11 +481,6 @@ const clientConfig = {
|
|
|
483
481
|
},
|
|
484
482
|
plugins: [
|
|
485
483
|
...baseClientConfig.plugins,
|
|
486
|
-
new StyleLintPlugin({
|
|
487
|
-
configFile: `${paths.appPath}/.stylelintrc`,
|
|
488
|
-
extensions: ['less'],
|
|
489
|
-
exclude: ['node_modules', 'coverage'],
|
|
490
|
-
}),
|
|
491
484
|
new webpack.HotModuleReplacementPlugin(),
|
|
492
485
|
new SubresourceIntegrityPlugin(),
|
|
493
486
|
new LoadablePlugin({
|