@rspack-canary/browser 1.5.9-canary-b4bf7a8b-20251011023631 → 1.5.9-canary-a915dabc-20251013174148
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 -7
- 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-a915dabc-20251013174148");
|
|
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) {
|
|
@@ -50064,7 +50064,6 @@ class Compiler {
|
|
|
50064
50064
|
} catch (e) {
|
|
50065
50065
|
const err = new Error(`compiler.runAsChild callback error: ${e}`);
|
|
50066
50066
|
this.parentCompilation.errors.push(err);
|
|
50067
|
-
console.log(e);
|
|
50068
50067
|
}
|
|
50069
50068
|
};
|
|
50070
50069
|
this.compile((err, compilation)=>{
|
|
@@ -50583,7 +50582,7 @@ class MultiStats {
|
|
|
50583
50582
|
return obj;
|
|
50584
50583
|
});
|
|
50585
50584
|
if (childOptions.version) {
|
|
50586
|
-
obj.rspackVersion = "1.5.9-canary-
|
|
50585
|
+
obj.rspackVersion = "1.5.9-canary-a915dabc-20251013174148";
|
|
50587
50586
|
obj.version = "5.75.0";
|
|
50588
50587
|
}
|
|
50589
50588
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -51891,7 +51890,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
51891
51890
|
},
|
|
51892
51891
|
version: (object)=>{
|
|
51893
51892
|
object.version = "5.75.0";
|
|
51894
|
-
object.rspackVersion = "1.5.9-canary-
|
|
51893
|
+
object.rspackVersion = "1.5.9-canary-a915dabc-20251013174148";
|
|
51895
51894
|
},
|
|
51896
51895
|
env: (object, _compilation, _context, { _env })=>{
|
|
51897
51896
|
object.env = _env;
|
|
@@ -56360,7 +56359,7 @@ function transformSync(source, options) {
|
|
|
56360
56359
|
const _options = JSON.stringify(options || {});
|
|
56361
56360
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
56362
56361
|
}
|
|
56363
|
-
const exports_rspackVersion = "1.5.9-canary-
|
|
56362
|
+
const exports_rspackVersion = "1.5.9-canary-a915dabc-20251013174148";
|
|
56364
56363
|
const exports_version = "5.75.0";
|
|
56365
56364
|
const exports_WebpackError = Error;
|
|
56366
56365
|
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-a915dabc-20251013174148",
|
|
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",
|