@rspack-canary/browser 1.6.0-canary-aa4ad886-20251027174222 → 1.6.0-canary-bf68c45d-20251028142310
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/config/types.d.ts +25 -1
- package/dist/index.mjs +4 -4
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/package.json +1 -1
package/dist/config/types.d.ts
CHANGED
|
@@ -226,8 +226,32 @@ export type HashSalt = string;
|
|
|
226
226
|
export type SourceMapFilename = string;
|
|
227
227
|
/** This option determines the module's namespace */
|
|
228
228
|
export type DevtoolNamespace = string;
|
|
229
|
+
export interface ModuleFilenameTemplateContext {
|
|
230
|
+
/** The identifier of the module */
|
|
231
|
+
identifier: string;
|
|
232
|
+
/** The shortened identifier of the module */
|
|
233
|
+
shortIdentifier: string;
|
|
234
|
+
/** The resource of the module request */
|
|
235
|
+
resource: string;
|
|
236
|
+
/** The resource path of the module request */
|
|
237
|
+
resourcePath: string;
|
|
238
|
+
/** The absolute resource path of the module request */
|
|
239
|
+
absoluteResourcePath: string;
|
|
240
|
+
/** The loaders of the module request */
|
|
241
|
+
loaders: string;
|
|
242
|
+
/** All loaders of the module request */
|
|
243
|
+
allLoaders: string;
|
|
244
|
+
/** The query of the module identifier */
|
|
245
|
+
query: string;
|
|
246
|
+
/** The module id of the module */
|
|
247
|
+
moduleId: string;
|
|
248
|
+
/** The hash of the module identifier */
|
|
249
|
+
hash: string;
|
|
250
|
+
/** The module namespace */
|
|
251
|
+
namespace: string;
|
|
252
|
+
}
|
|
229
253
|
/** This option is only used when devtool uses an option that requires module names. */
|
|
230
|
-
export type DevtoolModuleFilenameTemplate = string | ((
|
|
254
|
+
export type DevtoolModuleFilenameTemplate = string | ((context: ModuleFilenameTemplateContext) => string);
|
|
231
255
|
/** A fallback is used when the template string or function above yields duplicates. */
|
|
232
256
|
export type DevtoolFallbackModuleFilenameTemplate = DevtoolModuleFilenameTemplate;
|
|
233
257
|
/** Tell Rspack what kind of ES-features may be used in the generated runtime-code. */
|
package/dist/index.mjs
CHANGED
|
@@ -58111,7 +58111,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
|
58111
58111
|
if ("object" == typeof rspackFuture) {
|
|
58112
58112
|
D(rspackFuture, "bundlerInfo", {});
|
|
58113
58113
|
if ("object" == typeof rspackFuture.bundlerInfo) {
|
|
58114
|
-
D(rspackFuture.bundlerInfo, "version", "1.6.0-canary-
|
|
58114
|
+
D(rspackFuture.bundlerInfo, "version", "1.6.0-canary-bf68c45d-20251028142310");
|
|
58115
58115
|
D(rspackFuture.bundlerInfo, "bundler", "rspack");
|
|
58116
58116
|
D(rspackFuture.bundlerInfo, "force", !library);
|
|
58117
58117
|
}
|
|
@@ -62051,7 +62051,7 @@ class MultiStats {
|
|
|
62051
62051
|
return obj;
|
|
62052
62052
|
});
|
|
62053
62053
|
if (childOptions.version) {
|
|
62054
|
-
obj.rspackVersion = "1.6.0-canary-
|
|
62054
|
+
obj.rspackVersion = "1.6.0-canary-bf68c45d-20251028142310";
|
|
62055
62055
|
obj.version = "5.75.0";
|
|
62056
62056
|
}
|
|
62057
62057
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -63356,7 +63356,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
63356
63356
|
},
|
|
63357
63357
|
version: (object)=>{
|
|
63358
63358
|
object.version = "5.75.0";
|
|
63359
|
-
object.rspackVersion = "1.6.0-canary-
|
|
63359
|
+
object.rspackVersion = "1.6.0-canary-bf68c45d-20251028142310";
|
|
63360
63360
|
},
|
|
63361
63361
|
env: (object, _compilation, _context, { _env })=>{
|
|
63362
63362
|
object.env = _env;
|
|
@@ -66322,7 +66322,7 @@ function transformSync(source, options) {
|
|
|
66322
66322
|
const _options = JSON.stringify(options || {});
|
|
66323
66323
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
66324
66324
|
}
|
|
66325
|
-
const exports_rspackVersion = "1.6.0-canary-
|
|
66325
|
+
const exports_rspackVersion = "1.6.0-canary-bf68c45d-20251028142310";
|
|
66326
66326
|
const exports_version = "5.75.0";
|
|
66327
66327
|
const exports_WebpackError = Error;
|
|
66328
66328
|
const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.6.0-canary-
|
|
3
|
+
"version": "1.6.0-canary-bf68c45d-20251028142310",
|
|
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.",
|