@stanlemon/webdev 0.2.64 → 0.2.69

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stanlemon/webdev",
3
- "version": "0.2.64",
3
+ "version": "0.2.69",
4
4
  "description": "My typical web development setup, but without all the copy and paste.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -39,13 +39,13 @@
39
39
  "identity-obj-proxy": "^3.0.0",
40
40
  "jest": "^30.2.0",
41
41
  "jest-environment-jsdom": "^30.2.0",
42
- "less": "^4.4.2",
42
+ "less": "^4.5.1",
43
43
  "less-loader": "^12.3.0",
44
44
  "react-refresh": "^0.18.0",
45
45
  "style-loader": "^4.0.0",
46
46
  "typescript": "^5.9.3",
47
- "webpack": "^5.103.0",
48
- "webpack-bundle-analyzer": "^4.10.2",
47
+ "webpack": "^5.104.1",
48
+ "webpack-bundle-analyzer": "^5.1.1",
49
49
  "webpack-cli": "^6.0.1",
50
50
  "webpack-dev-server": "^5.2.2"
51
51
  },
@@ -55,8 +55,8 @@
55
55
  "@types/react-dom": "19.2.3",
56
56
  "@types/webpack": "5.28.5",
57
57
  "@types/webpack-env": "1.18.8",
58
- "react": "19.2.1",
59
- "react-dom": "19.2.1"
58
+ "react": "19.2.3",
59
+ "react-dom": "19.2.3"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "react": ">=18.0.0",
package/webpack.config.js CHANGED
@@ -146,12 +146,13 @@ export default {
146
146
  "process.env.NODE_ENV": JSON.stringify(NODE_ENV),
147
147
  }),
148
148
  ],
149
- ...[
150
- isDevelopment &&
151
- new BundleAnalyzerPlugin({
152
- analyzerMode: "static",
153
- openAnalyzer: false,
154
- }),
155
- ].filter(Boolean),
149
+ ...(!isDevelopment
150
+ ? [
151
+ new BundleAnalyzerPlugin({
152
+ analyzerMode: "static",
153
+ openAnalyzer: false,
154
+ }),
155
+ ]
156
+ : []),
156
157
  ],
157
158
  };