@nx/webpack 18.0.0 → 18.0.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": "18.0.0",
3
+ "version": "18.0.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": {
@@ -62,9 +62,9 @@
62
62
  "webpack-dev-server": "^4.9.3",
63
63
  "webpack-node-externals": "^3.0.0",
64
64
  "webpack-subresource-integrity": "^5.1.0",
65
- "@nx/devkit": "18.0.0",
66
- "@nx/js": "18.0.0",
67
- "@nrwl/webpack": "18.0.0"
65
+ "@nx/devkit": "18.0.2",
66
+ "@nx/js": "18.0.2",
67
+ "@nrwl/webpack": "18.0.2"
68
68
  },
69
69
  "publishConfig": {
70
70
  "access": "public"
@@ -14,7 +14,6 @@ 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 ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
18
17
  const IGNORED_WEBPACK_WARNINGS = [
19
18
  /The comment file/i,
20
19
  /could not find any license/i,
@@ -172,6 +171,7 @@ function applyNxDependentConfig(options, config, { useNormalizedEntry } = {}) {
172
171
  root: options.root,
173
172
  };
174
173
  if (!options?.skipTypeChecking) {
174
+ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
175
175
  plugins.push(new ForkTsCheckerWebpackPlugin({
176
176
  typescript: {
177
177
  configFile: path.isAbsolute(tsConfig)