@machtwatch/react-script 1.2.9 → 1.2.11-aplha.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/bin/react-script.js +1 -1
- package/package.json +4 -4
- package/scripts/webpack.config.js +2 -1
package/bin/react-script.js
CHANGED
|
@@ -123,7 +123,7 @@ switch (script) {
|
|
|
123
123
|
const result = spawn.sync(
|
|
124
124
|
'node',
|
|
125
125
|
nodeArgs
|
|
126
|
-
.concat(isInspect ? ['--inspect'] : [])
|
|
126
|
+
.concat(isInspect ? ['--inspect-brk'] : [])
|
|
127
127
|
.concat('-r')
|
|
128
128
|
.concat('dotenv/config')
|
|
129
129
|
.concat(require.resolve(`${__dirname}/../bin/cluster`))
|
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-aplha.0",
|
|
4
4
|
"description": "Machtwatch React script",
|
|
5
5
|
"author": "Danny Reza Miloen <danny@machtwatch.co.id>",
|
|
6
6
|
"contributors": [],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@testing-library/jest-dom": "^5.12.0",
|
|
54
54
|
"@testing-library/react": "^11.2.7",
|
|
55
55
|
"assets-webpack-plugin": "7.1.1",
|
|
56
|
-
"autoprefixer": "^
|
|
56
|
+
"autoprefixer": "^10.4.20",
|
|
57
57
|
"babel-jest": "^26.3.0",
|
|
58
58
|
"babel-loader": "^8.2.5",
|
|
59
59
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"dotenv": "^5.0.1",
|
|
71
71
|
"dotenv-expand": "^4.2.0",
|
|
72
72
|
"event-source-polyfill": "^1.0.7",
|
|
73
|
-
"express": "^4.
|
|
73
|
+
"express": "^4.21.1",
|
|
74
74
|
"file-loader": "^6.2.0",
|
|
75
75
|
"glob": "^7.1.4",
|
|
76
76
|
"glob-all": "^3.2.1",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"mkdirp": "^0.5.1",
|
|
85
85
|
"null-loader": "^4.0.1",
|
|
86
86
|
"object-assign": "^4.1.1",
|
|
87
|
-
"postcss": "^8.4.
|
|
87
|
+
"postcss": "^8.4.47",
|
|
88
88
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
89
89
|
"postcss-import": "^14.1.0",
|
|
90
90
|
"postcss-loader": "^7.0.0",
|
|
@@ -162,7 +162,8 @@ const webpackConfig = ({ isClient }) => ({
|
|
|
162
162
|
extensions: ['.js', '.jsx', '.mjs'],
|
|
163
163
|
modules: [paths.appSrc, path.resolve(paths.appSrc, 'node_modules'), 'node_modules', './node_modules'],
|
|
164
164
|
alias: {
|
|
165
|
-
build: paths.appBuild
|
|
165
|
+
build: paths.appBuild,
|
|
166
|
+
helpers: path.resolve(paths.appSrc, 'helpers')
|
|
166
167
|
},
|
|
167
168
|
},
|
|
168
169
|
|