@workleap/webpack-configs 1.0.5 → 1.0.6

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.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#135](https://github.com/gsoft-inc/wl-web-configs/pull/135) [`0b36530`](https://github.com/gsoft-inc/wl-web-configs/commit/0b365307c97c4f1ef9c7ced8867a3bf103223c7a) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Release webpack-configs
8
+
3
9
  ## 1.0.5
4
10
 
5
11
  ### Patch Changes
package/dist/build.js CHANGED
@@ -1,3 +1,3 @@
1
- export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-GFNG2PBM.js';
1
+ export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-FXES4JZF.js';
2
2
  import './chunk-P2Z3EEVF.js';
3
3
  import './chunk-QJI26K46.js';
@@ -4,7 +4,6 @@ import HtmlWebpackPlugin from 'html-webpack-plugin';
4
4
  import MiniCssExtractPlugin from 'mini-css-extract-plugin';
5
5
  import { createRequire } from 'node:module';
6
6
  import path from 'node:path';
7
- import { fileURLToPath } from 'node:url';
8
7
  import TerserPlugin from 'terser-webpack-plugin';
9
8
  import webpack from 'webpack';
10
9
 
@@ -71,9 +70,6 @@ function defineBuildConfig(swcConfig, options = {}) {
71
70
  cache: cache && {
72
71
  type: "filesystem",
73
72
  allowCollectingMemory: false,
74
- buildDependencies: {
75
- config: [fileURLToPath(import.meta.url)]
76
- },
77
73
  cacheDirectory
78
74
  },
79
75
  // Fixes caching for environmental variables using the DefinePlugin by forcing
@@ -4,7 +4,6 @@ import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
4
4
  import HtmlWebpackPlugin from 'html-webpack-plugin';
5
5
  import { createRequire } from 'node:module';
6
6
  import path from 'node:path';
7
- import { fileURLToPath } from 'node:url';
8
7
  import webpack from 'webpack';
9
8
  import 'webpack-dev-server';
10
9
 
@@ -76,9 +75,6 @@ function defineDevConfig(swcConfig, options = {}) {
76
75
  type: "filesystem",
77
76
  allowCollectingMemory: true,
78
77
  maxMemoryGenerations: 1,
79
- buildDependencies: {
80
- config: [fileURLToPath(import.meta.url)]
81
- },
82
78
  cacheDirectory
83
79
  },
84
80
  // Fixes caching for environmental variables using the DefinePlugin by forcing
package/dist/dev.js CHANGED
@@ -1,3 +1,3 @@
1
- export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-JJEPV2N2.js';
1
+ export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-ZBXE4VAX.js';
2
2
  import './chunk-P2Z3EEVF.js';
3
3
  import './chunk-QJI26K46.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-GFNG2PBM.js';
2
- export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-JJEPV2N2.js';
1
+ export { defineBuildConfig, defineBuildHtmlWebpackPluginConfig, defineMiniCssExtractPluginConfig } from './chunk-FXES4JZF.js';
2
+ export { defineDevConfig, defineDevHtmlWebpackPluginConfig, defineFastRefreshPluginConfig } from './chunk-ZBXE4VAX.js';
3
3
  import './chunk-P2Z3EEVF.js';
4
4
  import './chunk-QJI26K46.js';
5
5
  export { addAfterModuleRule, addBeforeModuleRule, findModuleRule, findModuleRules, matchAssetModuleType, matchLoaderName, matchTest, removeModuleRules, replaceModuleRule } from './chunk-34O5ZLZ6.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.0.5",
5
+ "version": "1.0.6",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
8
8
  "workleap",
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
32
+ "@svgr/webpack": "8.1.0",
32
33
  "css-loader": "6.8.1",
33
34
  "html-webpack-plugin": "5.5.3",
34
35
  "mini-css-extract-plugin": "2.7.6",
@@ -38,13 +39,12 @@
38
39
  "terser-webpack-plugin": "5.3.9"
39
40
  },
40
41
  "peerDependencies": {
41
- "@svgr/webpack": "*",
42
42
  "@swc/core": "*",
43
43
  "@swc/helpers": "*",
44
44
  "browserslist": "*",
45
45
  "postcss": "*",
46
- "webpack": "*",
47
- "webpack-dev-server": "*"
46
+ "webpack": ">=5.0.0",
47
+ "webpack-dev-server": ">=4.0.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "webpack-dev-server": {
@@ -52,7 +52,6 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@svgr/webpack": "8.1.0",
56
55
  "@swc/core": "1.3.82",
57
56
  "@swc/helpers": "0.5.1",
58
57
  "@swc/jest": "0.2.29",