@workleap/webpack-configs 1.2.0 → 1.2.1
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @workleap/webpack-configs
|
|
2
2
|
|
|
3
|
+
## 1.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#167](https://github.com/gsoft-inc/wl-web-configs/pull/167) [`55e0bd4`](https://github.com/gsoft-inc/wl-web-configs/commit/55e0bd4a7574f3cc6c138474eca90b84a62ad16f) Thanks [@tjosepo](https://github.com/tjosepo)! - Fix file extension RegEx rules being too lenient
|
|
8
|
+
|
|
3
9
|
## 1.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/build.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-
|
|
1
|
+
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-VYQT72ZC.js';
|
|
2
2
|
import './chunk-2YARCRX5.js';
|
|
3
3
|
import './chunk-QJI26K46.js';
|
|
@@ -121,21 +121,21 @@ function defineBuildConfig(swcConfig, options = {}) {
|
|
|
121
121
|
module: {
|
|
122
122
|
rules: [
|
|
123
123
|
{
|
|
124
|
-
test: /\.(js|jsx|ts|tsx)
|
|
124
|
+
test: /\.(js|jsx|ts|tsx)$/i,
|
|
125
125
|
exclude: /node_modules/,
|
|
126
126
|
loader: require2.resolve("swc-loader"),
|
|
127
127
|
options: swcConfig
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
// https://stackoverflow.com/questions/69427025/programmatic-webpack-jest-esm-cant-resolve-module-without-js-file-exten
|
|
131
|
-
test: /\.js
|
|
131
|
+
test: /\.js$/i,
|
|
132
132
|
include: /node_modules/,
|
|
133
133
|
resolve: {
|
|
134
134
|
fullySpecified: false
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
test: /\.css
|
|
138
|
+
test: /\.css$/i,
|
|
139
139
|
use: [
|
|
140
140
|
{ loader: MiniCssExtractPlugin.loader },
|
|
141
141
|
{
|
|
@@ -150,11 +150,11 @@ function defineBuildConfig(swcConfig, options = {}) {
|
|
|
150
150
|
]
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
test: /\.svg
|
|
153
|
+
test: /\.svg$/i,
|
|
154
154
|
loader: require2.resolve("@svgr/webpack")
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
test: /\.(png|jpe?g|gif)
|
|
157
|
+
test: /\.(png|jpe?g|gif)$/i,
|
|
158
158
|
type: "asset/resource"
|
|
159
159
|
},
|
|
160
160
|
...moduleRules
|
|
@@ -132,21 +132,21 @@ function defineDevConfig(swcConfig, options = {}) {
|
|
|
132
132
|
module: {
|
|
133
133
|
rules: [
|
|
134
134
|
{
|
|
135
|
-
test: /\.(js|jsx|ts|tsx)
|
|
135
|
+
test: /\.(js|jsx|ts|tsx)$/i,
|
|
136
136
|
exclude: /node_modules/,
|
|
137
137
|
loader: require2.resolve("swc-loader"),
|
|
138
138
|
options: trySetSwcFastRefresh(swcConfig, fastRefresh !== false)
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
// https://stackoverflow.com/questions/69427025/programmatic-webpack-jest-esm-cant-resolve-module-without-js-file-exten
|
|
142
|
-
test: /\.js
|
|
142
|
+
test: /\.js$/i,
|
|
143
143
|
include: /node_modules/,
|
|
144
144
|
resolve: {
|
|
145
145
|
fullySpecified: false
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
test: /\.css
|
|
149
|
+
test: /\.css$/i,
|
|
150
150
|
use: [
|
|
151
151
|
{ loader: require2.resolve("style-loader") },
|
|
152
152
|
{
|
|
@@ -161,11 +161,11 @@ function defineDevConfig(swcConfig, options = {}) {
|
|
|
161
161
|
]
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
test: /\.svg
|
|
164
|
+
test: /\.svg$/i,
|
|
165
165
|
loader: require2.resolve("@svgr/webpack")
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
test: /\.(png|jpe?g|gif)
|
|
168
|
+
test: /\.(png|jpe?g|gif)$/i,
|
|
169
169
|
type: "asset/resource"
|
|
170
170
|
},
|
|
171
171
|
...moduleRules
|
package/dist/dev.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-
|
|
1
|
+
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-WDH5HE3E.js';
|
|
2
2
|
import './chunk-2YARCRX5.js';
|
|
3
3
|
import './chunk-QJI26K46.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-
|
|
2
|
-
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-
|
|
1
|
+
export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-VYQT72ZC.js';
|
|
2
|
+
export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-WDH5HE3E.js';
|
|
3
3
|
import './chunk-2YARCRX5.js';
|
|
4
4
|
import './chunk-QJI26K46.js';
|
|
5
5
|
export { addAfterModuleRule, addBeforeModuleRule, findModuleRule, findModuleRules, matchAssetModuleType, matchLoaderName, matchTest, removeModuleRules, replaceModuleRule } from './chunk-34O5ZLZ6.js';
|