@rspack/core 2.0.7 → 2.0.8
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
|
@@ -7033,7 +7033,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7033
7033
|
return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
|
|
7034
7034
|
desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
|
|
7035
7035
|
}), Array.from(enabledWasmLoadingTypes);
|
|
7036
|
-
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.
|
|
7036
|
+
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "2.0.8"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !1));
|
|
7037
7037
|
}, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp, outputModule })=>{
|
|
7038
7038
|
let isUniversal = (key)=>!!(outputModule && targetProperties && null === targetProperties[key]);
|
|
7039
7039
|
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')));
|
|
@@ -8288,7 +8288,7 @@ class MultiStats {
|
|
|
8288
8288
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8289
8289
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8290
8290
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8291
|
-
}), childOptions.version && (obj.rspackVersion = "2.0.
|
|
8291
|
+
}), childOptions.version && (obj.rspackVersion = "2.0.8", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
|
|
8292
8292
|
let mapError = (j, obj)=>({
|
|
8293
8293
|
...obj,
|
|
8294
8294
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9562,7 +9562,7 @@ let iterateConfig = (config, options, fn)=>{
|
|
|
9562
9562
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9563
9563
|
},
|
|
9564
9564
|
version: (object)=>{
|
|
9565
|
-
object.version = "5.75.0", object.rspackVersion = "2.0.
|
|
9565
|
+
object.version = "5.75.0", object.rspackVersion = "2.0.8";
|
|
9566
9566
|
},
|
|
9567
9567
|
env: (object, _compilation, _context, { _env })=>{
|
|
9568
9568
|
object.env = _env;
|
|
@@ -11223,7 +11223,7 @@ class TraceHookPlugin {
|
|
|
11223
11223
|
});
|
|
11224
11224
|
}
|
|
11225
11225
|
}
|
|
11226
|
-
let CORE_VERSION = "2.0.
|
|
11226
|
+
let CORE_VERSION = "2.0.8", VFILES_BY_COMPILER = new WeakMap();
|
|
11227
11227
|
class VirtualModulesPlugin {
|
|
11228
11228
|
#staticModules;
|
|
11229
11229
|
#compiler;
|
|
@@ -13602,7 +13602,7 @@ async function transform(source, options) {
|
|
|
13602
13602
|
let _options = JSON.stringify(options || {});
|
|
13603
13603
|
return binding_default().transform(source, _options);
|
|
13604
13604
|
}
|
|
13605
|
-
let exports_rspackVersion = "2.0.
|
|
13605
|
+
let exports_rspackVersion = "2.0.8", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
|
|
13606
13606
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
13607
13607
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
13608
13608
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Fast Rust-based bundler for the web with a modernized webpack API",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"webpack-sources": "3.3.4"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@rspack/binding": "2.0.
|
|
61
|
+
"@rspack/binding": "2.0.8"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@module-federation/runtime-tools": "^0.24.1 || ^2.0.0",
|