@rspack-canary/browser 1.5.9-canary-ec64d52e-20251007173953 → 1.5.9-canary-39ce7fc0-20251009174151
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.
|
@@ -105,6 +105,9 @@ export interface ExperimentsNormalized {
|
|
|
105
105
|
outputModule?: boolean;
|
|
106
106
|
topLevelAwait?: boolean;
|
|
107
107
|
css?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated This option is deprecated, layers is enabled since v1.6.0
|
|
110
|
+
*/
|
|
108
111
|
layers?: boolean;
|
|
109
112
|
incremental?: false | Incremental;
|
|
110
113
|
parallelCodeSplitting?: boolean;
|
package/dist/config/types.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -37617,7 +37617,6 @@ class EntryOptionPlugin {
|
|
|
37617
37617
|
asyncChunks: desc.asyncChunks,
|
|
37618
37618
|
library: desc.library
|
|
37619
37619
|
};
|
|
37620
|
-
if (void 0 !== desc.layer && !compiler.options.experiments.layers) throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled");
|
|
37621
37620
|
return options;
|
|
37622
37621
|
}
|
|
37623
37622
|
}
|
|
@@ -46607,7 +46606,7 @@ const applyExperimentsDefaults = (experiments, { development })=>{
|
|
|
46607
46606
|
D(experiments, "lazyCompilation", false);
|
|
46608
46607
|
D(experiments, "asyncWebAssembly", experiments.futureDefaults);
|
|
46609
46608
|
D(experiments, "css", experiments.futureDefaults ? true : void 0);
|
|
46610
|
-
|
|
46609
|
+
if ("layers" in experiments) console.warn("`experiments.layers` config has been deprecated and will be removed in Rspack v2.0. Feature layers will be always enabled. Please remove this option from your Rspack configuration.");
|
|
46611
46610
|
if (false === experiments.topLevelAwait) console.warn("`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration.");
|
|
46612
46611
|
D(experiments, "topLevelAwait", true);
|
|
46613
46612
|
D(experiments, "buildHttp", void 0);
|
|
@@ -46644,7 +46643,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
|
46644
46643
|
if ("object" == typeof rspackFuture) {
|
|
46645
46644
|
D(rspackFuture, "bundlerInfo", {});
|
|
46646
46645
|
if ("object" == typeof rspackFuture.bundlerInfo) {
|
|
46647
|
-
D(rspackFuture.bundlerInfo, "version", "1.5.9-canary-
|
|
46646
|
+
D(rspackFuture.bundlerInfo, "version", "1.5.9-canary-39ce7fc0-20251009174151");
|
|
46648
46647
|
D(rspackFuture.bundlerInfo, "bundler", "rspack");
|
|
46649
46648
|
D(rspackFuture.bundlerInfo, "force", !library);
|
|
46650
46649
|
}
|
|
@@ -50745,7 +50744,7 @@ class MultiStats {
|
|
|
50745
50744
|
return obj;
|
|
50746
50745
|
});
|
|
50747
50746
|
if (childOptions.version) {
|
|
50748
|
-
obj.rspackVersion = "1.5.9-canary-
|
|
50747
|
+
obj.rspackVersion = "1.5.9-canary-39ce7fc0-20251009174151";
|
|
50749
50748
|
obj.version = "5.75.0";
|
|
50750
50749
|
}
|
|
50751
50750
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -52053,7 +52052,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
52053
52052
|
},
|
|
52054
52053
|
version: (object)=>{
|
|
52055
52054
|
object.version = "5.75.0";
|
|
52056
|
-
object.rspackVersion = "1.5.9-canary-
|
|
52055
|
+
object.rspackVersion = "1.5.9-canary-39ce7fc0-20251009174151";
|
|
52057
52056
|
},
|
|
52058
52057
|
env: (object, _compilation, _context, { _env })=>{
|
|
52059
52058
|
object.env = _env;
|
|
@@ -56518,7 +56517,7 @@ function transformSync(source, options) {
|
|
|
56518
56517
|
const _options = JSON.stringify(options || {});
|
|
56519
56518
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
56520
56519
|
}
|
|
56521
|
-
const exports_rspackVersion = "1.5.9-canary-
|
|
56520
|
+
const exports_rspackVersion = "1.5.9-canary-39ce7fc0-20251009174151";
|
|
56522
56521
|
const exports_version = "5.75.0";
|
|
56523
56522
|
const exports_WebpackError = Error;
|
|
56524
56523
|
const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
|
package/dist/napi-binding.d.ts
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.5.9-canary-
|
|
3
|
+
"version": "1.5.9-canary-39ce7fc0-20251009174151",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|