@nx/webpack 19.0.0-beta.1 → 19.0.0-beta.2
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": "@nx/webpack",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"webpack-dev-server": "^4.9.3",
|
|
64
64
|
"webpack-node-externals": "^3.0.0",
|
|
65
65
|
"webpack-subresource-integrity": "^5.1.0",
|
|
66
|
-
"@nx/devkit": "19.0.0-beta.
|
|
67
|
-
"@nx/js": "19.0.0-beta.
|
|
68
|
-
"@nrwl/webpack": "19.0.0-beta.
|
|
66
|
+
"@nx/devkit": "19.0.0-beta.2",
|
|
67
|
+
"@nx/js": "19.0.0-beta.2",
|
|
68
|
+
"@nrwl/webpack": "19.0.0-beta.2"
|
|
69
69
|
},
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveUserDefinedWebpackConfig = void 0;
|
|
4
4
|
const internal_1 = require("@nx/js/src/internal");
|
|
5
|
+
const config_utils_1 = require("@nx/devkit/src/utils/config-utils");
|
|
5
6
|
function resolveUserDefinedWebpackConfig(path, tsConfig,
|
|
6
7
|
/** Skip require cache and return latest content */
|
|
7
8
|
reload = false) {
|
|
@@ -9,9 +10,7 @@ reload = false) {
|
|
|
9
10
|
// Clear cache if the path is in the cache
|
|
10
11
|
if (require.cache[path]) {
|
|
11
12
|
// Clear all entries because config may import other modules
|
|
12
|
-
|
|
13
|
-
delete require.cache[k];
|
|
14
|
-
}
|
|
13
|
+
(0, config_utils_1.clearRequireCache)();
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
// Don't transpile non-TS files. This prevents workspaces libs from being registered via tsconfig-paths.
|