@workleap/webpack-configs 1.5.0 → 1.5.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.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#201](https://github.com/gsoft-inc/wl-web-configs/pull/201) [`de5804b`](https://github.com/gsoft-inc/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
8
+
3
9
  ## 1.5.0
4
10
 
5
11
  ### Minor Changes
package/dist/build.js CHANGED
@@ -1,3 +1,3 @@
1
- export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-KCMV3N5J.js';
1
+ export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-CW54GSNS.js';
2
2
  import './chunk-2YARCRX5.js';
3
3
  import './chunk-5ACA7GOB.js';
@@ -21,7 +21,7 @@ function defineBuildHtmlWebpackPluginConfig(options = {}) {
21
21
  }
22
22
  function defineMiniCssExtractPluginConfig(options = {}) {
23
23
  const {
24
- filename = "[name].[fullhash].css",
24
+ filename = "[name].css",
25
25
  ...rest
26
26
  } = options;
27
27
  return {
@@ -103,9 +103,10 @@ function defineBuildConfig(swcConfig, options = {}) {
103
103
  entry,
104
104
  output: {
105
105
  path: outputPath,
106
- filename: "[name].[fullhash].js",
106
+ filename: "[name].js",
107
107
  publicPath,
108
- clean: true
108
+ clean: true,
109
+ assetModuleFilename: "[name][ext][query]"
109
110
  },
110
111
  optimization: getOptimizationConfig(optimize),
111
112
  infrastructureLogging: verbose ? {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-KCMV3N5J.js';
1
+ export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig, getOptimizationConfig } from './chunk-CW54GSNS.js';
2
2
  export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-JU2EHEXW.js';
3
3
  import './chunk-2YARCRX5.js';
4
4
  import './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.5.0",
5
+ "version": "1.5.1",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
8
8
  "workleap",
@@ -33,7 +33,7 @@
33
33
  "browserslist": "*",
34
34
  "postcss": "*",
35
35
  "webpack": ">=5.0.0",
36
- "webpack-dev-server": ">=4.0.0"
36
+ "webpack-dev-server": ">=5.0.0"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "webpack-dev-server": {
@@ -42,22 +42,17 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@svgr/core": "8.1.0",
45
- "@swc/core": "1.4.6",
45
+ "@swc/core": "1.4.12",
46
+ "@swc/helpers": "0.5.8",
46
47
  "@swc/jest": "0.2.36",
47
48
  "@types/jest": "29.5.12",
48
49
  "@types/node": "20.11.25",
49
- "browserslist": "4.23.0",
50
50
  "jest": "29.7.0",
51
- "postcss": "8.4.35",
52
- "postcss-load-config": "5.0.3",
53
- "ts-node": "10.9.2",
54
51
  "tsup": "8.0.2",
55
52
  "typescript": "5.4.2",
56
- "webpack": "5.90.3",
57
- "webpack-dev-server": "5.0.2",
58
- "@workleap/eslint-plugin": "3.1.0",
53
+ "@workleap/eslint-plugin": "3.2.1",
59
54
  "@workleap/swc-configs": "2.2.3",
60
- "@workleap/tsup-configs": "3.0.4",
55
+ "@workleap/tsup-configs": "3.0.6",
61
56
  "@workleap/typescript-configs": "3.0.2"
62
57
  },
63
58
  "dependencies": {