@workleap/webpack-configs 1.5.3 → 1.5.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/CHANGELOG.md +30 -24
- package/README.md +2 -2
- package/package.json +13 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,146 +1,152 @@
|
|
|
1
1
|
# @workleap/webpack-configs
|
|
2
2
|
|
|
3
|
+
## 1.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#242](https://github.com/workleap/wl-web-configs/pull/242) [`e165cb4`](https://github.com/workleap/wl-web-configs/commit/e165cb447e699e19f06d41532216e36c09d7b945) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
|
|
8
|
+
|
|
3
9
|
## 1.5.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [#230](https://github.com/
|
|
13
|
+
- [#230](https://github.com/workleap/wl-web-configs/pull/230) [`0a4279c`](https://github.com/workleap/wl-web-configs/commit/0a4279c40b7c2ea76c7e1884a8e2fd744ca9b7c1) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Packages now includes the source codes and sourcemap.
|
|
8
14
|
|
|
9
15
|
## 1.5.2
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [#215](https://github.com/
|
|
19
|
+
- [#215](https://github.com/workleap/wl-web-configs/pull/215) [`d6dfe8f`](https://github.com/workleap/wl-web-configs/commit/d6dfe8f61ab56a606c84c7c580dded75ba5e7bfc) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Fixed typings.
|
|
14
20
|
|
|
15
21
|
## 1.5.1
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [#201](https://github.com/
|
|
25
|
+
- [#201](https://github.com/workleap/wl-web-configs/pull/201) [`de5804b`](https://github.com/workleap/wl-web-configs/commit/de5804b352496fe0a6d4e01a5b6bb5e6a56aca18) Thanks [@bsokol-wl](https://github.com/bsokol-wl)! - Remove hashes from chunk file names and asset/resource file names in order to prevent chunk load errors for users during a deployment
|
|
20
26
|
|
|
21
27
|
## 1.5.0
|
|
22
28
|
|
|
23
29
|
### Minor Changes
|
|
24
30
|
|
|
25
|
-
- [#190](https://github.com/
|
|
31
|
+
- [#190](https://github.com/workleap/wl-web-configs/pull/190) [`b6246b3`](https://github.com/workleap/wl-web-configs/commit/b6246b30a505821e36b09579fb14e3c0f99c963a) Thanks [@bsokol-wl](https://github.com/bsokol-wl)! - Enable in-memory webpack cache by default
|
|
26
32
|
|
|
27
33
|
## 1.4.2
|
|
28
34
|
|
|
29
35
|
### Patch Changes
|
|
30
36
|
|
|
31
|
-
- [#188](https://github.com/
|
|
37
|
+
- [#188](https://github.com/workleap/wl-web-configs/pull/188) [`37b6253`](https://github.com/workleap/wl-web-configs/commit/37b625375848907b34a5c86bd95de69b25a5342f) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
|
|
32
38
|
|
|
33
39
|
## 1.4.1
|
|
34
40
|
|
|
35
41
|
### Patch Changes
|
|
36
42
|
|
|
37
|
-
- [#186](https://github.com/
|
|
43
|
+
- [#186](https://github.com/workleap/wl-web-configs/pull/186) [`997054e`](https://github.com/workleap/wl-web-configs/commit/997054eb66118e5897ce686a446d98ac7ea6abd6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Loosen the dependencies version.
|
|
38
44
|
|
|
39
45
|
## 1.4.0
|
|
40
46
|
|
|
41
47
|
### Minor Changes
|
|
42
48
|
|
|
43
|
-
- [#183](https://github.com/
|
|
49
|
+
- [#183](https://github.com/workleap/wl-web-configs/pull/183) [`77128e6`](https://github.com/workleap/wl-web-configs/commit/77128e666574333035e6bb077fc1982f327751eb) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Added a "readable" option to Webpack optimize option.
|
|
44
50
|
|
|
45
51
|
## 1.3.2
|
|
46
52
|
|
|
47
53
|
### Patch Changes
|
|
48
54
|
|
|
49
|
-
- [#179](https://github.com/
|
|
55
|
+
- [#179](https://github.com/workleap/wl-web-configs/pull/179) [`61d3721`](https://github.com/workleap/wl-web-configs/commit/61d37216198083ba78cd4b1480e38c8d772a6119) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
|
|
50
56
|
|
|
51
57
|
## 1.3.1
|
|
52
58
|
|
|
53
59
|
### Patch Changes
|
|
54
60
|
|
|
55
|
-
- [#177](https://github.com/
|
|
61
|
+
- [#177](https://github.com/workleap/wl-web-configs/pull/177) [`8936ce6`](https://github.com/workleap/wl-web-configs/commit/8936ce677cad205caba2f13a71f5c9208f1dd5e6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated packages dependencies.
|
|
56
62
|
|
|
57
63
|
## 1.3.0
|
|
58
64
|
|
|
59
65
|
### Minor Changes
|
|
60
66
|
|
|
61
|
-
- [#175](https://github.com/
|
|
67
|
+
- [#175](https://github.com/workleap/wl-web-configs/pull/175) [`0f5077c`](https://github.com/workleap/wl-web-configs/commit/0f5077cdc9592e02099c498fcb6ebda6e1637e0c) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Added an `svgr` option.
|
|
62
68
|
|
|
63
69
|
## 1.2.1
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
- [#167](https://github.com/
|
|
73
|
+
- [#167](https://github.com/workleap/wl-web-configs/pull/167) [`55e0bd4`](https://github.com/workleap/wl-web-configs/commit/55e0bd4a7574f3cc6c138474eca90b84a62ad16f) Thanks [@tjosepo](https://github.com/tjosepo)! - Fix file extension RegEx rules being too lenient
|
|
68
74
|
|
|
69
75
|
## 1.2.0
|
|
70
76
|
|
|
71
77
|
### Minor Changes
|
|
72
78
|
|
|
73
|
-
- [#164](https://github.com/
|
|
79
|
+
- [#164](https://github.com/workleap/wl-web-configs/pull/164) [`b747f5b`](https://github.com/workleap/wl-web-configs/commit/b747f5b1d1bc7f0b7935e04ab971dad256e8ed8c) Thanks [@patricklafrance](https://github.com/patricklafrance)! - - Added a `publicPath` prop to the development configuration.
|
|
74
80
|
|
|
75
81
|
## 1.1.1
|
|
76
82
|
|
|
77
83
|
### Patch Changes
|
|
78
84
|
|
|
79
|
-
- [#162](https://github.com/
|
|
85
|
+
- [#162](https://github.com/workleap/wl-web-configs/pull/162) [`fff9d08`](https://github.com/workleap/wl-web-configs/commit/fff9d087ebfe941fb38de8a46b3af79258f7f80d) Thanks [@patricklafrance](https://github.com/patricklafrance)! - - Removed the `build` config `preflight` function because it's not enforced by TypeScript typings.
|
|
80
86
|
- Updated the `build` config non-optimized options.
|
|
81
87
|
|
|
82
88
|
## 1.1.0
|
|
83
89
|
|
|
84
90
|
### Minor Changes
|
|
85
91
|
|
|
86
|
-
- [#155](https://github.com/
|
|
92
|
+
- [#155](https://github.com/workleap/wl-web-configs/pull/155) [`5a02365`](https://github.com/workleap/wl-web-configs/commit/5a02365e18b002c48c20e4ae23114d7063027b2f) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Added an overlay predefined options for the webpack config.
|
|
87
93
|
|
|
88
94
|
## 1.0.8
|
|
89
95
|
|
|
90
96
|
### Patch Changes
|
|
91
97
|
|
|
92
|
-
- [#146](https://github.com/
|
|
98
|
+
- [#146](https://github.com/workleap/wl-web-configs/pull/146) [`0b259b0`](https://github.com/workleap/wl-web-configs/commit/0b259b0849e32c49f78be2f9869a5daea0b4c6f3) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Replaced build option "minify" for "optimize"
|
|
93
99
|
|
|
94
100
|
## 1.0.7
|
|
95
101
|
|
|
96
102
|
### Patch Changes
|
|
97
103
|
|
|
98
|
-
- [#143](https://github.com/
|
|
104
|
+
- [#143](https://github.com/workleap/wl-web-configs/pull/143) [`334088f`](https://github.com/workleap/wl-web-configs/commit/334088fac63aad6cc245ee3300da076e5c201287) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated to SWC 1.3.85
|
|
99
105
|
|
|
100
106
|
## 1.0.6
|
|
101
107
|
|
|
102
108
|
### Patch Changes
|
|
103
109
|
|
|
104
|
-
- [#135](https://github.com/
|
|
110
|
+
- [#135](https://github.com/workleap/wl-web-configs/pull/135) [`0b36530`](https://github.com/workleap/wl-web-configs/commit/0b365307c97c4f1ef9c7ced8867a3bf103223c7a) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Release webpack-configs
|
|
105
111
|
|
|
106
112
|
## 1.0.5
|
|
107
113
|
|
|
108
114
|
### Patch Changes
|
|
109
115
|
|
|
110
|
-
- [#131](https://github.com/
|
|
116
|
+
- [#131](https://github.com/workleap/wl-web-configs/pull/131) [`11bb287`](https://github.com/workleap/wl-web-configs/commit/11bb287847b4f525faa83abd23e46c56f58e41f4) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Added a default key to exports
|
|
111
117
|
|
|
112
118
|
## 1.0.4
|
|
113
119
|
|
|
114
120
|
### Patch Changes
|
|
115
121
|
|
|
116
|
-
- [#127](https://github.com/
|
|
122
|
+
- [#127](https://github.com/workleap/wl-web-configs/pull/127) [`f440b12`](https://github.com/workleap/wl-web-configs/commit/f440b1251e2b3c1960dfc7f68bd090f573ec67d6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Fix environment variables
|
|
117
123
|
|
|
118
124
|
## 1.0.3
|
|
119
125
|
|
|
120
126
|
### Patch Changes
|
|
121
127
|
|
|
122
|
-
- [#123](https://github.com/
|
|
128
|
+
- [#123](https://github.com/workleap/wl-web-configs/pull/123) [`1c5458f`](https://github.com/workleap/wl-web-configs/commit/1c5458fba56494648b896e5263addaeb6380848e) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated web-configs
|
|
123
129
|
|
|
124
130
|
## 1.0.2
|
|
125
131
|
|
|
126
132
|
### Patch Changes
|
|
127
133
|
|
|
128
|
-
- [#120](https://github.com/
|
|
134
|
+
- [#120](https://github.com/workleap/wl-web-configs/pull/120) [`0e66000`](https://github.com/workleap/wl-web-configs/commit/0e66000b2028cad9c606d3523e3bcf540e6350e2) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated configs
|
|
129
135
|
|
|
130
136
|
## 1.0.1
|
|
131
137
|
|
|
132
138
|
### Patch Changes
|
|
133
139
|
|
|
134
|
-
- [#116](https://github.com/
|
|
140
|
+
- [#116](https://github.com/workleap/wl-web-configs/pull/116) [`5d7f448`](https://github.com/workleap/wl-web-configs/commit/5d7f4486b80f397efb59361935c8e944fcd00d97) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Move fast-refresh package to a dependency rather than an optional peerDependency and move webpack config swcConfig as the first param
|
|
135
141
|
|
|
136
142
|
## 1.0.0
|
|
137
143
|
|
|
138
144
|
### Major Changes
|
|
139
145
|
|
|
140
|
-
- [#98](https://github.com/
|
|
146
|
+
- [#98](https://github.com/workleap/wl-web-configs/pull/98) [`56ca32e`](https://github.com/workleap/wl-web-configs/commit/56ca32ee3194c51210aacc5189f3ebbec5a4a7b6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - New start, every package has a major version bump
|
|
141
147
|
|
|
142
148
|
## 0.0.2
|
|
143
149
|
|
|
144
150
|
### Patch Changes
|
|
145
151
|
|
|
146
|
-
- [#92](https://github.com/
|
|
152
|
+
- [#92](https://github.com/workleap/wl-web-configs/pull/92) [`66e8f10`](https://github.com/workleap/wl-web-configs/commit/66e8f1033a987523c65fe9e61f53dac6d2e38777) Thanks [@ofrogon](https://github.com/ofrogon)! - Migrate project from GitHub organization
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
7
|
|
|
8
|
-
View the [user's documentation](https://
|
|
8
|
+
View the [user's documentation](https://workleap.github.io/wl-web-configs/).
|
|
9
9
|
|
|
10
10
|
## 🤝 Contributing
|
|
11
11
|
|
|
@@ -19,4 +19,4 @@ To work properly, all projects having React/JSX code that are referenced by the
|
|
|
19
19
|
|
|
20
20
|
## License
|
|
21
21
|
|
|
22
|
-
Copyright © 2023, Workleap. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/
|
|
22
|
+
Copyright © 2023, Workleap. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/workleap/workleap-license/blob/master/LICENSE.
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "@workleap/webpack-configs",
|
|
3
3
|
"author": "Workleap",
|
|
4
4
|
"description": "Workleap recommended webpack configurations.",
|
|
5
|
-
"version": "1.5.
|
|
5
|
+
"version": "1.5.4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/workleap/wl-web-configs.git",
|
|
10
10
|
"directory": "packages/webpack-configs"
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
@@ -50,31 +50,26 @@
|
|
|
50
50
|
"react-refresh": "^0.16.0",
|
|
51
51
|
"style-loader": "^4.0.0",
|
|
52
52
|
"swc-loader": "^0.2.6",
|
|
53
|
-
"terser-webpack-plugin": "^5.3.
|
|
53
|
+
"terser-webpack-plugin": "^5.3.14"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@rsbuild/core": "1.
|
|
57
|
-
"@rslib/core": "0.
|
|
56
|
+
"@rsbuild/core": "1.2.19",
|
|
57
|
+
"@rslib/core": "0.5.4",
|
|
58
58
|
"@svgr/core": "8.1.0",
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@swc/jest": "0.2.37",
|
|
62
|
-
"@types/jest": "29.5.14",
|
|
63
|
-
"@types/node": "22.10.7",
|
|
64
|
-
"@typescript-eslint/parser": "8.20.0",
|
|
59
|
+
"@types/node": "22.13.10",
|
|
60
|
+
"@typescript-eslint/parser": "8.26.1",
|
|
65
61
|
"eslint": "8.57.0",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"@workleap/
|
|
70
|
-
"@workleap/
|
|
71
|
-
"@workleap/swc-configs": "2.2.4",
|
|
62
|
+
"typescript": "5.8.2",
|
|
63
|
+
"vitest": "3.0.9",
|
|
64
|
+
"@workleap/eslint-plugin": "3.3.1",
|
|
65
|
+
"@workleap/rslib-configs": "1.0.3",
|
|
66
|
+
"@workleap/swc-configs": "2.2.5",
|
|
72
67
|
"@workleap/typescript-configs": "3.0.2"
|
|
73
68
|
},
|
|
74
69
|
"scripts": {
|
|
75
70
|
"build": "rslib build -c rslib.config.ts",
|
|
76
71
|
"eslint": "eslint . --max-warnings=-0 --cache --cache-location node_modules/.cache/eslint",
|
|
77
72
|
"typecheck": "tsc",
|
|
78
|
-
"test": "
|
|
73
|
+
"test": "vitest --config vitest.config.ts --no-watch"
|
|
79
74
|
}
|
|
80
75
|
}
|