@rspack-canary/core 2.0.0-canary-3d548a85-20260126174829 → 2.0.0-canary-dcb96bee-20260127053038
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
|
@@ -6354,7 +6354,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
6354
6354
|
return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
|
|
6355
6355
|
desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
|
|
6356
6356
|
}), Array.from(enabledWasmLoadingTypes);
|
|
6357
|
-
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.0-canary-
|
|
6357
|
+
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.0-canary-dcb96bee-20260127053038"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !output.library));
|
|
6358
6358
|
}, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp, outputModule })=>{
|
|
6359
6359
|
let isUniversal = (key)=>!!(outputModule && targetProperties && null === targetProperties[key]);
|
|
6360
6360
|
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')));
|
|
@@ -7606,7 +7606,7 @@ class MultiStats {
|
|
|
7606
7606
|
obj.children = this.stats.map((stat, idx)=>{
|
|
7607
7607
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
7608
7608
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
7609
|
-
}), childOptions.version && (obj.rspackVersion = "2.0.0-canary-
|
|
7609
|
+
}), childOptions.version && (obj.rspackVersion = "2.0.0-canary-dcb96bee-20260127053038", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
|
|
7610
7610
|
let mapError = (j, obj)=>({
|
|
7611
7611
|
...obj,
|
|
7612
7612
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -8865,7 +8865,7 @@ let iterateConfig = (config, options, fn)=>{
|
|
|
8865
8865
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
8866
8866
|
},
|
|
8867
8867
|
version: (object)=>{
|
|
8868
|
-
object.version = "5.75.0", object.rspackVersion = "2.0.0-canary-
|
|
8868
|
+
object.version = "5.75.0", object.rspackVersion = "2.0.0-canary-dcb96bee-20260127053038";
|
|
8869
8869
|
},
|
|
8870
8870
|
env: (object, _compilation, _context, { _env })=>{
|
|
8871
8871
|
object.env = _env;
|
|
@@ -10526,7 +10526,7 @@ class TraceHookPlugin {
|
|
|
10526
10526
|
});
|
|
10527
10527
|
}
|
|
10528
10528
|
}
|
|
10529
|
-
let CORE_VERSION = "2.0.0-canary-
|
|
10529
|
+
let CORE_VERSION = "2.0.0-canary-dcb96bee-20260127053038", VFILES_BY_COMPILER = new WeakMap();
|
|
10530
10530
|
class VirtualModulesPlugin {
|
|
10531
10531
|
#staticModules;
|
|
10532
10532
|
#compiler;
|
|
@@ -12321,7 +12321,7 @@ async function transform(source, options) {
|
|
|
12321
12321
|
let _options = JSON.stringify(options || {});
|
|
12322
12322
|
return binding_default().transform(source, _options);
|
|
12323
12323
|
}
|
|
12324
|
-
let exports_rspackVersion = "2.0.0-canary-
|
|
12324
|
+
let exports_rspackVersion = "2.0.0-canary-dcb96bee-20260127053038", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
|
|
12325
12325
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
12326
12326
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
12327
12327
|
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-dcb96bee-20260127053038",
|
|
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-dcb96bee-20260127053038"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@module-federation/runtime-tools": ">=0.22.0",
|