@nx/webpack 20.2.1 → 20.3.0-beta.0
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": "20.
|
|
3
|
+
"version": "20.3.0-beta.0",
|
|
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": {
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"webpack-dev-server": "^5.0.4",
|
|
66
66
|
"webpack-node-externals": "^3.0.0",
|
|
67
67
|
"webpack-subresource-integrity": "^5.1.0",
|
|
68
|
-
"@nx/devkit": "20.
|
|
69
|
-
"@nx/js": "20.
|
|
68
|
+
"@nx/devkit": "20.3.0-beta.0",
|
|
69
|
+
"@nx/js": "20.3.0-beta.0"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
@@ -14,6 +14,7 @@ const get_terser_ecma_version_1 = require("./get-terser-ecma-version");
|
|
|
14
14
|
const compiler_loaders_1 = require("./compiler-loaders");
|
|
15
15
|
const TerserPlugin = require("terser-webpack-plugin");
|
|
16
16
|
const nodeExternals = require("webpack-node-externals");
|
|
17
|
+
const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
|
|
17
18
|
const IGNORED_WEBPACK_WARNINGS = [
|
|
18
19
|
/The comment file/i,
|
|
19
20
|
/could not find any license/i,
|
|
@@ -177,7 +178,8 @@ function applyNxDependentConfig(options, config, { useNormalizedEntry } = {}) {
|
|
|
177
178
|
root: options.root,
|
|
178
179
|
};
|
|
179
180
|
plugins.push(new nx_tsconfig_paths_webpack_plugin_1.NxTsconfigPathsWebpackPlugin({ ...options, tsConfig }));
|
|
180
|
-
|
|
181
|
+
// New TS Solution already has a typecheck target
|
|
182
|
+
if (!options?.skipTypeChecking && !(0, ts_solution_setup_1.isUsingTsSolutionSetup)()) {
|
|
181
183
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
|
182
184
|
plugins.push(new ForkTsCheckerWebpackPlugin({
|
|
183
185
|
typescript: {
|