@rspack-canary/core 1.7.3-canary-965a4980-20260119085659 → 1.7.3-canary-0b48f4eb-20260120024403
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.
|
@@ -10,7 +10,7 @@ export declare const rsc: {
|
|
|
10
10
|
ServerPlugin: new (options?: Omit<RscClientPluginOptions, "coordinator">) => ServerPlugin;
|
|
11
11
|
ClientPlugin: new () => ClientPlugin;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
Layers: {
|
|
14
14
|
/**
|
|
15
15
|
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
16
16
|
*/
|
package/dist/index.js
CHANGED
|
@@ -6065,7 +6065,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
6065
6065
|
return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
|
|
6066
6066
|
desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
|
|
6067
6067
|
}), Array.from(enabledWasmLoadingTypes);
|
|
6068
|
-
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "1.7.3-canary-
|
|
6068
|
+
}), D(output, 'bundlerInfo', {}), 'object' == typeof output.bundlerInfo && (D(output.bundlerInfo, 'version', "1.7.3-canary-0b48f4eb-20260120024403"), D(output.bundlerInfo, 'bundler', 'rspack'), D(output.bundlerInfo, 'force', !output.library));
|
|
6069
6069
|
}, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp })=>{
|
|
6070
6070
|
D(externalsPresets, 'web', !buildHttp && targetProperties?.web), D(externalsPresets, 'node', targetProperties?.node), D(externalsPresets, 'electron', targetProperties?.electron), D(externalsPresets, 'electronMain', targetProperties?.electron && targetProperties.electronMain), D(externalsPresets, 'electronPreload', targetProperties?.electron && targetProperties.electronPreload), D(externalsPresets, 'electronRenderer', targetProperties?.electron && targetProperties.electronRenderer), D(externalsPresets, 'nwjs', targetProperties?.nwjs);
|
|
6071
6071
|
}, applyLoaderDefaults = (loader, { targetProperties, environment })=>{
|
|
@@ -7325,7 +7325,7 @@ class MultiStats {
|
|
|
7325
7325
|
obj.children = this.stats.map((stat, idx)=>{
|
|
7326
7326
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
7327
7327
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
7328
|
-
}), childOptions.version && (obj.rspackVersion = "1.7.3-canary-
|
|
7328
|
+
}), childOptions.version && (obj.rspackVersion = "1.7.3-canary-0b48f4eb-20260120024403", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(''));
|
|
7329
7329
|
let mapError = (j, obj)=>({
|
|
7330
7330
|
...obj,
|
|
7331
7331
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -8578,7 +8578,7 @@ let iterateConfig = (config, options, fn)=>{
|
|
|
8578
8578
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
8579
8579
|
},
|
|
8580
8580
|
version: (object)=>{
|
|
8581
|
-
object.version = "5.75.0", object.rspackVersion = "1.7.3-canary-
|
|
8581
|
+
object.version = "5.75.0", object.rspackVersion = "1.7.3-canary-0b48f4eb-20260120024403";
|
|
8582
8582
|
},
|
|
8583
8583
|
env: (object, _compilation, _context, { _env })=>{
|
|
8584
8584
|
object.env = _env;
|
|
@@ -10224,7 +10224,7 @@ class TraceHookPlugin {
|
|
|
10224
10224
|
});
|
|
10225
10225
|
}
|
|
10226
10226
|
}
|
|
10227
|
-
let CORE_VERSION = "1.7.3-canary-
|
|
10227
|
+
let CORE_VERSION = "1.7.3-canary-0b48f4eb-20260120024403", VFILES_BY_COMPILER = new WeakMap();
|
|
10228
10228
|
class VirtualModulesPlugin {
|
|
10229
10229
|
#staticModules;
|
|
10230
10230
|
#compiler;
|
|
@@ -12006,7 +12006,7 @@ async function transform(source, options) {
|
|
|
12006
12006
|
let _options = JSON.stringify(options || {});
|
|
12007
12007
|
return binding_default().transform(source, _options);
|
|
12008
12008
|
}
|
|
12009
|
-
let exports_rspackVersion = "1.7.3-canary-
|
|
12009
|
+
let exports_rspackVersion = "1.7.3-canary-0b48f4eb-20260120024403", exports_version = "5.75.0", exports_WebpackError = Error, exports_config = {
|
|
12010
12010
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
12011
12011
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
12012
12012
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
|
@@ -12273,7 +12273,7 @@ let exports_rspackVersion = "1.7.3-canary-965a4980-20260119085659", exports_vers
|
|
|
12273
12273
|
}
|
|
12274
12274
|
};
|
|
12275
12275
|
},
|
|
12276
|
-
|
|
12276
|
+
Layers: {
|
|
12277
12277
|
rsc: 'react-server-components',
|
|
12278
12278
|
ssr: 'server-side-rendering'
|
|
12279
12279
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.7.3-canary-
|
|
3
|
+
"version": "1.7.3-canary-0b48f4eb-20260120024403",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@rspack/lite-tapable": "1.1.0",
|
|
60
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.7.3-canary-
|
|
60
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.7.3-canary-0b48f4eb-20260120024403"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@module-federation/runtime-tools": ">=0.22.0",
|