@nx/angular-rspack 22.0.0-beta.7 → 22.0.0-beta.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-config.d.ts","sourceRoot":"","sources":["../../../../src/lib/config/config-utils/browser-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,oCAAoC,EACrC,MAAM,cAAc,CAAC;AAQtB,wBAAsB,gBAAgB,CACpC,iBAAiB,EAAE,oCAAoC,EACvD,IAAI,EAAE,WAAW,EACjB,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"browser-config.d.ts","sourceRoot":"","sources":["../../../../src/lib/config/config-utils/browser-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,oCAAoC,EACrC,MAAM,cAAc,CAAC;AAQtB,wBAAsB,gBAAgB,CACpC,iBAAiB,EAAE,oCAAoC,EACvD,IAAI,EAAE,WAAW,EACjB,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,aAAa,CAAC,CAoFxB"}
|
|
@@ -35,7 +35,11 @@ async function getBrowserConfig(normalizedOptions, i18n, hashFormat, defaultConf
|
|
|
35
35
|
cssFilename: `[name]${hashFormat.file}.css`,
|
|
36
36
|
filename: `[name]${hashFormat.chunk}.js`,
|
|
37
37
|
chunkFilename: `[name]${hashFormat.chunk}.js`,
|
|
38
|
-
|
|
38
|
+
scriptType: 'module',
|
|
39
|
+
module: true,
|
|
40
|
+
},
|
|
41
|
+
experiments: {
|
|
42
|
+
outputModule: true,
|
|
39
43
|
},
|
|
40
44
|
resolve: {
|
|
41
45
|
...defaultConfig.resolve,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-config.d.ts","sourceRoot":"","sources":["../../../../src/lib/config/config-utils/common-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"common-config.d.ts","sourceRoot":"","sources":["../../../../src/lib/config/config-utils/common-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,UAAU,EACV,WAAW,EACX,oCAAoC,EACrC,MAAM,cAAc,CAAC;AAQtB,wBAAsB,eAAe,CACnC,iBAAiB,EAAE,oCAAoC,EACvD,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,EAC/B,UAAU,EAAE,UAAU,iDA8JvB"}
|
|
@@ -4,6 +4,7 @@ exports.getCommonConfig = getCommonConfig;
|
|
|
4
4
|
const core_1 = require("@rspack/core");
|
|
5
5
|
const node_path_1 = require("node:path");
|
|
6
6
|
const angular_rspack_compiler_1 = require("@nx/angular-rspack-compiler");
|
|
7
|
+
const devkit_1 = require("@nx/devkit");
|
|
7
8
|
const style_config_utils_1 = require("./style-config-utils");
|
|
8
9
|
const helpers_1 = require("./helpers");
|
|
9
10
|
const sourcemap_utils_1 = require("./sourcemap-utils");
|
|
@@ -54,7 +55,8 @@ async function getCommonConfig(normalizedOptions, i18n, i18nHash, hashFormat) {
|
|
|
54
55
|
resolve: {
|
|
55
56
|
extensions: ['.ts', '.tsx', '.mjs', '.js'],
|
|
56
57
|
symlinks: !normalizedOptions.preserveSymlinks,
|
|
57
|
-
|
|
58
|
+
// Make sure we add the root node_modules directory to the node resolver
|
|
59
|
+
modules: ['node_modules', (0, node_path_1.join)(devkit_1.workspaceRoot, 'node_modules')],
|
|
58
60
|
conditionNames: ['es2020', 'es2015', '...'],
|
|
59
61
|
tsConfig: {
|
|
60
62
|
configFile: normalizedOptions.tsConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack",
|
|
3
|
-
"version": "22.0.0-beta.
|
|
3
|
+
"version": "22.0.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@ampproject/remapping": "2.3.0",
|
|
49
49
|
"@babel/core": "7.28.3",
|
|
50
50
|
"@discoveryjs/json-ext": "0.6.3",
|
|
51
|
-
"@nx/angular-rspack-compiler": "22.0.0-beta.
|
|
52
|
-
"@nx/devkit": "22.0.0-beta.
|
|
51
|
+
"@nx/angular-rspack-compiler": "22.0.0-beta.9",
|
|
52
|
+
"@nx/devkit": "22.0.0-beta.9",
|
|
53
53
|
"ansi-colors": "4.1.3",
|
|
54
54
|
"autoprefixer": "10.4.21",
|
|
55
55
|
"deepmerge": "^4.3.1",
|