@workleap/webpack-configs 1.4.0 → 1.4.2
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 +12 -0
- package/dist/build.js +2 -2
- package/dist/{chunk-QJI26K46.js → chunk-5ACA7GOB.js} +2 -2
- package/dist/{chunk-DGIXJARR.js → chunk-AKXI7IRH.js} +1 -1
- package/dist/{chunk-YYPUNR23.js → chunk-N4YYH3H2.js} +1 -1
- package/dist/dev.js +2 -2
- package/dist/index.js +3 -3
- package/dist/transformers/applyTransformers.js +1 -1
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @workleap/webpack-configs
|
|
2
2
|
|
|
3
|
+
## 1.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188](https://github.com/gsoft-inc/wl-web-configs/pull/188) [`37b6253`](https://github.com/gsoft-inc/wl-web-configs/commit/37b625375848907b34a5c86bd95de69b25a5342f) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
|
|
8
|
+
|
|
9
|
+
## 1.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#186](https://github.com/gsoft-inc/wl-web-configs/pull/186) [`997054e`](https://github.com/gsoft-inc/wl-web-configs/commit/997054eb66118e5897ce686a446d98ac7ea6abd6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Loosen the dependencies version.
|
|
14
|
+
|
|
3
15
|
## 1.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/build.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-
|
|
1
|
+
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-N4YYH3H2.js';
|
|
2
2
|
import './chunk-2YARCRX5.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-5ACA7GOB.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
function applyTransformers(config, transformers, context) {
|
|
3
3
|
let count = 0;
|
|
4
4
|
const transformedConfig = transformers.reduce((acc, transformer) => {
|
|
5
|
-
transformer(acc, context);
|
|
5
|
+
const newConfig = transformer(acc, context);
|
|
6
6
|
count += 1;
|
|
7
|
-
return
|
|
7
|
+
return newConfig;
|
|
8
8
|
}, config);
|
|
9
9
|
if (context.verbose) {
|
|
10
10
|
if (count > 0) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isObject, isNil } from './chunk-2YARCRX5.js';
|
|
2
|
-
import { applyTransformers } from './chunk-
|
|
2
|
+
import { applyTransformers } from './chunk-5ACA7GOB.js';
|
|
3
3
|
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
|
|
4
4
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
5
5
|
import { createRequire } from 'node:module';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isObject } from './chunk-2YARCRX5.js';
|
|
2
|
-
import { applyTransformers } from './chunk-
|
|
2
|
+
import { applyTransformers } from './chunk-5ACA7GOB.js';
|
|
3
3
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
4
4
|
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
|
5
5
|
import { createRequire } from 'node:module';
|
package/dist/dev.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-
|
|
1
|
+
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-AKXI7IRH.js';
|
|
2
2
|
import './chunk-2YARCRX5.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-5ACA7GOB.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-
|
|
2
|
-
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-
|
|
1
|
+
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-N4YYH3H2.js';
|
|
2
|
+
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-AKXI7IRH.js';
|
|
3
3
|
import './chunk-2YARCRX5.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-5ACA7GOB.js';
|
|
5
5
|
export { addAfterModuleRule, addBeforeModuleRule, findModuleRule, findModuleRules, matchAssetModuleType, matchLoaderName, matchTest, removeModuleRules, replaceModuleRule } from './chunk-34O5ZLZ6.js';
|
|
6
6
|
export { addAfterPlugin, addBeforePlugin, findPlugin, matchConstructorName, removePlugin, replacePlugin } from './chunk-JPURRV2F.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { applyTransformers } from '../chunk-
|
|
1
|
+
export { applyTransformers } from '../chunk-5ACA7GOB.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@workleap/webpack-configs",
|
|
3
3
|
"author": "Workleap",
|
|
4
4
|
"description": "Workleap recommended webpack config.",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"workleap",
|
|
@@ -42,35 +42,35 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@svgr/core": "8.1.0",
|
|
45
|
-
"@swc/core": "1.4.
|
|
46
|
-
"@swc/helpers": "0.5.6",
|
|
45
|
+
"@swc/core": "1.4.6",
|
|
47
46
|
"@swc/jest": "0.2.36",
|
|
48
47
|
"@types/jest": "29.5.12",
|
|
49
|
-
"@types/node": "20.11.
|
|
50
|
-
"browserslist": "4.
|
|
48
|
+
"@types/node": "20.11.25",
|
|
49
|
+
"browserslist": "4.23.0",
|
|
51
50
|
"jest": "29.7.0",
|
|
52
51
|
"postcss": "8.4.35",
|
|
53
52
|
"postcss-load-config": "5.0.3",
|
|
54
53
|
"ts-node": "10.9.2",
|
|
55
54
|
"tsup": "8.0.2",
|
|
56
|
-
"typescript": "5.
|
|
57
|
-
"webpack": "5.90.
|
|
58
|
-
"webpack-dev-server": "5.0.
|
|
59
|
-
"@workleap/
|
|
60
|
-
"@workleap/
|
|
61
|
-
"@workleap/
|
|
62
|
-
"@workleap/
|
|
55
|
+
"typescript": "5.4.2",
|
|
56
|
+
"webpack": "5.90.3",
|
|
57
|
+
"webpack-dev-server": "5.0.2",
|
|
58
|
+
"@workleap/eslint-plugin": "3.1.0",
|
|
59
|
+
"@workleap/swc-configs": "2.2.3",
|
|
60
|
+
"@workleap/tsup-configs": "3.0.4",
|
|
61
|
+
"@workleap/typescript-configs": "3.0.2"
|
|
63
62
|
},
|
|
64
63
|
"dependencies": {
|
|
65
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
|
|
66
|
-
"@svgr/webpack": "8.1.0",
|
|
67
|
-
"css-loader": "6.10.0",
|
|
68
|
-
"html-webpack-plugin": "5.6.0",
|
|
69
|
-
"mini-css-extract-plugin": "2.8.
|
|
70
|
-
"postcss-loader": "8.1.
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
64
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
65
|
+
"@svgr/webpack": "^8.1.0",
|
|
66
|
+
"css-loader": "^6.10.0",
|
|
67
|
+
"html-webpack-plugin": "^5.6.0",
|
|
68
|
+
"mini-css-extract-plugin": "^2.8.1",
|
|
69
|
+
"postcss-loader": "^8.1.1",
|
|
70
|
+
"react-refresh": "^0.14.0",
|
|
71
|
+
"style-loader": "^3.3.4",
|
|
72
|
+
"swc-loader": "^0.2.6",
|
|
73
|
+
"terser-webpack-plugin": "^5.3.10"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public",
|