@esmx/rspack 3.0.0-rc.87 → 3.0.0-rc.93
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.
|
@@ -53,10 +53,6 @@ export function createChainConfig(esmx, buildTarget, options) {
|
|
|
53
53
|
web: isClient,
|
|
54
54
|
node: isServer || isNode
|
|
55
55
|
});
|
|
56
|
-
chain.experiments({
|
|
57
|
-
...chain.get("experiments"),
|
|
58
|
-
outputModule: true
|
|
59
|
-
});
|
|
60
56
|
chain.externalsType("module-import");
|
|
61
57
|
if (isNode) {
|
|
62
58
|
chain.externals([
|
|
@@ -68,11 +64,14 @@ export function createChainConfig(esmx, buildTarget, options) {
|
|
|
68
64
|
]);
|
|
69
65
|
}
|
|
70
66
|
chain.experiments({
|
|
67
|
+
...chain.get("experiments") || {},
|
|
68
|
+
outputModule: true,
|
|
71
69
|
nativeWatcher: true,
|
|
72
70
|
rspackFuture: {
|
|
73
71
|
bundlerInfo: { force: false }
|
|
74
72
|
}
|
|
75
73
|
});
|
|
74
|
+
chain.set("lazyCompilation", false);
|
|
76
75
|
initModuleLink(chain, createModuleLinkConfig(esmx, buildTarget));
|
|
77
76
|
return chain;
|
|
78
77
|
}
|
package/package.json
CHANGED
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@esmx/import": "3.0.0-rc.
|
|
66
|
+
"@esmx/import": "3.0.0-rc.93",
|
|
67
67
|
"@npmcli/arborist": "^9.1.6",
|
|
68
|
-
"@rspack/core": "
|
|
68
|
+
"@rspack/core": "1.7.0",
|
|
69
69
|
"css-loader": "^7.1.2",
|
|
70
70
|
"less-loader": "^12.3.0",
|
|
71
71
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@biomejs/biome": "2.3.7",
|
|
83
|
-
"@esmx/core": "3.0.0-rc.
|
|
83
|
+
"@esmx/core": "3.0.0-rc.93",
|
|
84
84
|
"@types/node": "^24.0.0",
|
|
85
85
|
"@types/npmcli__arborist": "^6.3.1",
|
|
86
86
|
"@types/pacote": "^11.1.8",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"unbuild": "3.6.1",
|
|
92
92
|
"vitest": "3.2.4"
|
|
93
93
|
},
|
|
94
|
-
"version": "3.0.0-rc.
|
|
94
|
+
"version": "3.0.0-rc.93",
|
|
95
95
|
"type": "module",
|
|
96
96
|
"private": false,
|
|
97
97
|
"exports": {
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"template",
|
|
111
111
|
"public"
|
|
112
112
|
],
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "680b3b3549c50a2817d7e8ab72b3bb84d07966ce"
|
|
114
114
|
}
|
|
@@ -88,10 +88,6 @@ export function createChainConfig(
|
|
|
88
88
|
node: isServer || isNode
|
|
89
89
|
});
|
|
90
90
|
|
|
91
|
-
chain.experiments({
|
|
92
|
-
...chain.get('experiments'),
|
|
93
|
-
outputModule: true
|
|
94
|
-
});
|
|
95
91
|
chain.externalsType('module-import');
|
|
96
92
|
|
|
97
93
|
if (isNode) {
|
|
@@ -103,13 +99,18 @@ export function createChainConfig(
|
|
|
103
99
|
})
|
|
104
100
|
]);
|
|
105
101
|
}
|
|
102
|
+
|
|
106
103
|
chain.experiments({
|
|
104
|
+
...(chain.get('experiments') || {}),
|
|
105
|
+
outputModule: true,
|
|
107
106
|
nativeWatcher: true,
|
|
108
107
|
rspackFuture: {
|
|
109
108
|
bundlerInfo: { force: false }
|
|
110
109
|
}
|
|
111
110
|
});
|
|
112
111
|
|
|
112
|
+
chain.set('lazyCompilation', false);
|
|
113
|
+
|
|
113
114
|
initModuleLink(chain, createModuleLinkConfig(esmx, buildTarget));
|
|
114
115
|
|
|
115
116
|
return chain;
|