@nx/webpack 19.7.1 → 19.7.3

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.7.1",
3
+ "version": "19.7.3",
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": {
@@ -69,9 +69,9 @@
69
69
  "webpack-dev-server": "^5.0.4",
70
70
  "webpack-node-externals": "^3.0.0",
71
71
  "webpack-subresource-integrity": "^5.1.0",
72
- "@nx/devkit": "19.7.1",
73
- "@nx/js": "19.7.1",
74
- "@nrwl/webpack": "19.7.1"
72
+ "@nx/devkit": "19.7.3",
73
+ "@nx/js": "19.7.3",
74
+ "@nrwl/webpack": "19.7.3"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
@@ -140,6 +140,20 @@ function normalizeRelativePaths(projectRoot, options) {
140
140
  if (isRelativePath(fieldValue)) {
141
141
  options[fieldName] = (0, path_1.join)(projectRoot, fieldValue);
142
142
  }
143
+ else if (fieldName === 'additionalEntryPoints') {
144
+ for (let i = 0; i < fieldValue.length; i++) {
145
+ const v = fieldValue[i];
146
+ if (isRelativePath(v)) {
147
+ fieldValue[i] = {
148
+ entryName: (0, path_1.parse)(v).name,
149
+ entryPath: (0, path_1.join)(projectRoot, v),
150
+ };
151
+ }
152
+ else if (isRelativePath(v.entryPath)) {
153
+ v.entryPath = (0, path_1.join)(projectRoot, v.entryPath);
154
+ }
155
+ }
156
+ }
143
157
  else if (Array.isArray(fieldValue)) {
144
158
  for (let i = 0; i < fieldValue.length; i++) {
145
159
  if (isRelativePath(fieldValue[i])) {