@rspack-canary/browser 1.5.9-canary-b4bf7a8b-20251011023631 → 1.5.9-canary-bddc650e-20251012024608
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.mjs +6 -6
- package/dist/napi-binding.d.ts +5 -0
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -46637,13 +46637,13 @@ const applyExperimentsDefaults = (experiments, { development })=>{
|
|
|
46637
46637
|
D(experiments, "inlineConst", false);
|
|
46638
46638
|
D(experiments, "inlineEnum", false);
|
|
46639
46639
|
D(experiments, "typeReexportsPresence", false);
|
|
46640
|
-
D(experiments, "lazyBarrel",
|
|
46640
|
+
D(experiments, "lazyBarrel", true);
|
|
46641
46641
|
};
|
|
46642
46642
|
const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
46643
46643
|
if ("object" == typeof rspackFuture) {
|
|
46644
46644
|
D(rspackFuture, "bundlerInfo", {});
|
|
46645
46645
|
if ("object" == typeof rspackFuture.bundlerInfo) {
|
|
46646
|
-
D(rspackFuture.bundlerInfo, "version", "1.5.9-canary-
|
|
46646
|
+
D(rspackFuture.bundlerInfo, "version", "1.5.9-canary-bddc650e-20251012024608");
|
|
46647
46647
|
D(rspackFuture.bundlerInfo, "bundler", "rspack");
|
|
46648
46648
|
D(rspackFuture.bundlerInfo, "force", !library);
|
|
46649
46649
|
}
|
|
@@ -47012,7 +47012,7 @@ const applyOutputDefaults = (output, { context, outputModule, targetProperties:
|
|
|
47012
47012
|
D(output, "workerPublicPath", "");
|
|
47013
47013
|
D(output, "sourceMapFilename", "[file].map[query]");
|
|
47014
47014
|
defaults_F(output, "scriptType", ()=>output.module ? "module" : false);
|
|
47015
|
-
D(output, "charset",
|
|
47015
|
+
D(output, "charset", false);
|
|
47016
47016
|
D(output, "chunkLoadTimeout", 120000);
|
|
47017
47017
|
const { trustedTypes } = output;
|
|
47018
47018
|
if (trustedTypes) {
|
|
@@ -50583,7 +50583,7 @@ class MultiStats {
|
|
|
50583
50583
|
return obj;
|
|
50584
50584
|
});
|
|
50585
50585
|
if (childOptions.version) {
|
|
50586
|
-
obj.rspackVersion = "1.5.9-canary-
|
|
50586
|
+
obj.rspackVersion = "1.5.9-canary-bddc650e-20251012024608";
|
|
50587
50587
|
obj.version = "5.75.0";
|
|
50588
50588
|
}
|
|
50589
50589
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -51891,7 +51891,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
51891
51891
|
},
|
|
51892
51892
|
version: (object)=>{
|
|
51893
51893
|
object.version = "5.75.0";
|
|
51894
|
-
object.rspackVersion = "1.5.9-canary-
|
|
51894
|
+
object.rspackVersion = "1.5.9-canary-bddc650e-20251012024608";
|
|
51895
51895
|
},
|
|
51896
51896
|
env: (object, _compilation, _context, { _env })=>{
|
|
51897
51897
|
object.env = _env;
|
|
@@ -56360,7 +56360,7 @@ function transformSync(source, options) {
|
|
|
56360
56360
|
const _options = JSON.stringify(options || {});
|
|
56361
56361
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
56362
56362
|
}
|
|
56363
|
-
const exports_rspackVersion = "1.5.9-canary-
|
|
56363
|
+
const exports_rspackVersion = "1.5.9-canary-bddc650e-20251012024608";
|
|
56364
56364
|
const exports_version = "5.75.0";
|
|
56365
56365
|
const exports_WebpackError = Error;
|
|
56366
56366
|
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
|
@@ -2723,6 +2723,11 @@ export interface RawRslibPluginOptions {
|
|
|
2723
2723
|
* @default `false`
|
|
2724
2724
|
*/
|
|
2725
2725
|
compactExternalModuleDynamicImport?: boolean
|
|
2726
|
+
/**
|
|
2727
|
+
* Add shims for javascript/esm modules
|
|
2728
|
+
* @default `false`
|
|
2729
|
+
*/
|
|
2730
|
+
forceNodeShims?: boolean
|
|
2726
2731
|
}
|
|
2727
2732
|
|
|
2728
2733
|
export interface RawRspackFuture {
|
|
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-bddc650e-20251012024608",
|
|
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.",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"directory": "packages/rspack-browser"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@napi-rs/wasm-runtime": "
|
|
32
|
+
"@napi-rs/wasm-runtime": "1.0.7",
|
|
33
33
|
"@rspack/lite-tapable": "1.0.1",
|
|
34
34
|
"@swc/types": "0.1.25",
|
|
35
35
|
"@types/watchpack": "^2.4.4",
|