@rspack-canary/core 2.0.0-canary-dd3e16c5-20260125173357 → 2.0.0-canary-031a52e2-20260126041350
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/dist/index.js +5 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6332,7 +6332,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
6332
6332
|
return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
|
|
6333
6333
|
desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
|
|
6334
6334
|
}), Array.from(enabledWasmLoadingTypes);
|
|
6335
|
-
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.0-canary-
|
|
6335
|
+
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.0-canary-031a52e2-20260126041350"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !output.library));
|
|
6336
6336
|
}, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp, outputModule })=>{
|
|
6337
6337
|
let isUniversal = (key)=>!!(outputModule && targetProperties && null === targetProperties[key]);
|
|
6338
6338
|
D(externalsPresets, 'web', !buildHttp && targetProperties && (targetProperties.web || isUniversal('node'))), D(externalsPresets, 'node', targetProperties && (targetProperties.node || isUniversal('node'))), D(externalsPresets, 'electron', targetProperties && targetProperties.electron || isUniversal('electron')), D(externalsPresets, 'electronMain', targetProperties && !!targetProperties.electron && (targetProperties.electronMain || isUniversal('electronMain'))), D(externalsPresets, 'electronPreload', targetProperties && !!targetProperties.electron && (targetProperties.electronPreload || isUniversal('electronPreload'))), D(externalsPresets, 'electronRenderer', targetProperties && !!targetProperties.electron && (targetProperties.electronRenderer || isUniversal('electronRenderer'))), D(externalsPresets, 'nwjs', targetProperties && (targetProperties.nwjs || isUniversal('nwjs')));
|
|
@@ -7584,7 +7584,7 @@ class MultiStats {
|
|
|
7584
7584
|
obj.children = this.stats.map((stat, idx)=>{
|
|
7585
7585
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
7586
7586
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
7587
|
-
}), childOptions.version && (obj.rspackVersion = "2.0.0-canary-
|
|
7587
|
+
}), childOptions.version && (obj.rspackVersion = "2.0.0-canary-031a52e2-20260126041350", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
|
|
7588
7588
|
let mapError = (j, obj)=>({
|
|
7589
7589
|
...obj,
|
|
7590
7590
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -8837,7 +8837,7 @@ let iterateConfig = (config, options, fn)=>{
|
|
|
8837
8837
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
8838
8838
|
},
|
|
8839
8839
|
version: (object)=>{
|
|
8840
|
-
object.version = "5.75.0", object.rspackVersion = "2.0.0-canary-
|
|
8840
|
+
object.version = "5.75.0", object.rspackVersion = "2.0.0-canary-031a52e2-20260126041350";
|
|
8841
8841
|
},
|
|
8842
8842
|
env: (object, _compilation, _context, { _env })=>{
|
|
8843
8843
|
object.env = _env;
|
|
@@ -10498,7 +10498,7 @@ class TraceHookPlugin {
|
|
|
10498
10498
|
});
|
|
10499
10499
|
}
|
|
10500
10500
|
}
|
|
10501
|
-
let CORE_VERSION = "2.0.0-canary-
|
|
10501
|
+
let CORE_VERSION = "2.0.0-canary-031a52e2-20260126041350", VFILES_BY_COMPILER = new WeakMap();
|
|
10502
10502
|
class VirtualModulesPlugin {
|
|
10503
10503
|
#staticModules;
|
|
10504
10504
|
#compiler;
|
|
@@ -12293,7 +12293,7 @@ async function transform(source, options) {
|
|
|
12293
12293
|
let _options = JSON.stringify(options || {});
|
|
12294
12294
|
return binding_default().transform(source, _options);
|
|
12295
12295
|
}
|
|
12296
|
-
let exports_rspackVersion = "2.0.0-canary-
|
|
12296
|
+
let exports_rspackVersion = "2.0.0-canary-031a52e2-20260126041350", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
|
|
12297
12297
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
12298
12298
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
12299
12299
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "2.0.0-canary-
|
|
3
|
+
"version": "2.0.0-canary-031a52e2-20260126041350",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@rspack/lite-tapable": "1.1.0",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-canary/binding@2.0.0-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@2.0.0-canary-031a52e2-20260126041350"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@module-federation/runtime-tools": ">=0.22.0",
|