@nx/webpack 24.0.0-beta.2 → 24.0.0-canary.20261016-5ef7804
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/dist/src/generators/convert-config-to-webpack-plugin/convert-config-to-webpack-plugin.js
CHANGED
|
@@ -65,11 +65,7 @@ async function convertConfigToWebpackPluginGenerator(tree, options) {
|
|
|
65
65
|
: 'new NxAppWebpackPlugin()'},
|
|
66
66
|
${withReactConfig
|
|
67
67
|
? `new NxReactWebpackPlugin(${withReactConfig.getText()})`
|
|
68
|
-
: `new NxReactWebpackPlugin(
|
|
69
|
-
// Uncomment this line if you don't want to use SVGR
|
|
70
|
-
// See: https://react-svgr.com/
|
|
71
|
-
// svgr: false
|
|
72
|
-
})`},
|
|
68
|
+
: `new NxReactWebpackPlugin()`},
|
|
73
69
|
// NOTE: useLegacyNxPlugin ensures that the non-standard Webpack configuration file previously used still works.
|
|
74
70
|
// To remove its usage, move options such as "plugins" into this file as standard Webpack configuration options.
|
|
75
71
|
// To enhance configurations after Nx plugins have applied, you can add a new plugin with the \`apply\` method.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/webpack",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-canary.20261016-5ef7804",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"tslib": "^2.3.0",
|
|
119
119
|
"webpack-node-externals": "^3.0.0",
|
|
120
120
|
"webpack-subresource-integrity": "^5.1.0",
|
|
121
|
-
"@nx/devkit": "24.0.0-
|
|
122
|
-
"@nx/js": "24.0.0-
|
|
121
|
+
"@nx/devkit": "24.0.0-canary.20261016-5ef7804",
|
|
122
|
+
"@nx/js": "24.0.0-canary.20261016-5ef7804"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
125
|
"webpack": "^5.0.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
|
-
"nx": "24.0.0-
|
|
141
|
+
"nx": "24.0.0-canary.20261016-5ef7804"
|
|
142
142
|
},
|
|
143
143
|
"publishConfig": {
|
|
144
144
|
"access": "public"
|