@rspack-debug/browser 2.0.3 → 2.0.4
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/builtin-plugin/CircularModulesInfoPlugin.d.ts +7 -0
- package/dist/builtin-plugin/CssHttpExternalsRspackPlugin.d.ts +9 -0
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +2 -2
- package/dist/builtin-plugin/index.d.ts +2 -0
- package/dist/config/types.d.ts +29 -25
- package/dist/index.js +140 -93
- package/dist/napi-binding.d.ts +12 -18
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from '../binding';
|
|
2
|
+
import type { Compiler } from '../Compiler';
|
|
3
|
+
import { RspackBuiltinPlugin } from './base';
|
|
4
|
+
export declare class CircularModulesInfoPlugin extends RspackBuiltinPlugin {
|
|
5
|
+
name: BuiltinPluginName;
|
|
6
|
+
raw(_compiler: Compiler): BuiltinPlugin;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const CssHttpExternalsRspackPlugin: {
|
|
2
|
+
new (): {
|
|
3
|
+
name: string;
|
|
4
|
+
_args: [];
|
|
5
|
+
affectedHooks: keyof import("..").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("..").Compiler): void;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const HttpExternalsRspackPlugin: {
|
|
2
|
-
new (
|
|
2
|
+
new (webAsync: boolean): {
|
|
3
3
|
name: string;
|
|
4
|
-
_args: [
|
|
4
|
+
_args: [webAsync: boolean];
|
|
5
5
|
affectedHooks: keyof import("..").CompilerHooks | undefined;
|
|
6
6
|
raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
@@ -7,11 +7,13 @@ export * from './BundlerInfoRspackPlugin';
|
|
|
7
7
|
export { createNativePlugin, RspackBuiltinPlugin } from './base';
|
|
8
8
|
export * from './CaseSensitivePlugin';
|
|
9
9
|
export * from './ChunkPrefetchPreloadPlugin';
|
|
10
|
+
export * from './CircularModulesInfoPlugin';
|
|
10
11
|
export * from './CircularDependencyRspackPlugin';
|
|
11
12
|
export * from './CommonJsChunkFormatPlugin';
|
|
12
13
|
export * from './ContextReplacementPlugin';
|
|
13
14
|
export * from './CopyRspackPlugin';
|
|
14
15
|
export * from './CssChunkingPlugin';
|
|
16
|
+
export * from './CssHttpExternalsRspackPlugin';
|
|
15
17
|
export * from './CssModulesPlugin';
|
|
16
18
|
export * from './css-extract/index';
|
|
17
19
|
export * from './DataUriPlugin';
|
package/dist/config/types.d.ts
CHANGED
|
@@ -758,25 +758,7 @@ export type CssParserOptions = {
|
|
|
758
758
|
* */
|
|
759
759
|
resolveImport?: CssParserResolveImport;
|
|
760
760
|
};
|
|
761
|
-
/** Options object for `css/auto` modules. */
|
|
762
|
-
export type CssAutoParserOptions = {
|
|
763
|
-
/**
|
|
764
|
-
* Use ES modules named export for CSS exports.
|
|
765
|
-
* @default true
|
|
766
|
-
* */
|
|
767
|
-
namedExports?: CssParserNamedExports;
|
|
768
|
-
/**
|
|
769
|
-
* Allow to enable/disables handling the CSS functions url.
|
|
770
|
-
* @default true
|
|
771
|
-
* */
|
|
772
|
-
url?: CssParserUrl;
|
|
773
|
-
/**
|
|
774
|
-
* Allow to enable/disables `@import` at-rules handling.
|
|
775
|
-
* @default true
|
|
776
|
-
* */
|
|
777
|
-
resolveImport?: CssParserResolveImport;
|
|
778
|
-
};
|
|
779
|
-
/** Options object for `css/module` modules. */
|
|
761
|
+
/** Options object for `css/auto`, `css/global` and `css/module` modules. */
|
|
780
762
|
export type CssModuleParserOptions = {
|
|
781
763
|
/**
|
|
782
764
|
* Use ES modules named export for CSS exports.
|
|
@@ -936,7 +918,9 @@ export type ParserOptionsByModuleTypeKnown = {
|
|
|
936
918
|
/** Parser options for `css` modules. */
|
|
937
919
|
css?: CssParserOptions;
|
|
938
920
|
/** Parser options for `css/auto` modules. */
|
|
939
|
-
'css/auto'?:
|
|
921
|
+
'css/auto'?: CssModuleParserOptions;
|
|
922
|
+
/** Parser options for `css/global` modules. */
|
|
923
|
+
'css/global'?: CssModuleParserOptions;
|
|
940
924
|
/** Parser options for `css/module` modules. */
|
|
941
925
|
'css/module'?: CssModuleParserOptions;
|
|
942
926
|
/** Parser options for `javascript` modules. */
|
|
@@ -1014,6 +998,10 @@ export type CssGeneratorExportsConvention = 'as-is' | 'camel-case' | 'camel-case
|
|
|
1014
998
|
export type CssGeneratorExportsOnly = boolean;
|
|
1015
999
|
export type CssGeneratorLocalIdentName = string;
|
|
1016
1000
|
export type CssGeneratorEsModule = boolean;
|
|
1001
|
+
export type CssGeneratorLocalIdentHashDigest = string;
|
|
1002
|
+
export type CssGeneratorLocalIdentHashDigestLength = number;
|
|
1003
|
+
export type CssGeneratorLocalIdentHashFunction = string;
|
|
1004
|
+
export type CssGeneratorLocalIdentHashSalt = string;
|
|
1017
1005
|
/** Generator options for css modules. */
|
|
1018
1006
|
export type CssGeneratorOptions = {
|
|
1019
1007
|
/**
|
|
@@ -1024,8 +1012,8 @@ export type CssGeneratorOptions = {
|
|
|
1024
1012
|
/** This configuration is available for improved ESM-CJS interoperability purposes. */
|
|
1025
1013
|
esModule?: CssGeneratorEsModule;
|
|
1026
1014
|
};
|
|
1027
|
-
/** Generator options for css/auto modules. */
|
|
1028
|
-
export type
|
|
1015
|
+
/** Generator options for css/auto, css/global and css/module modules. */
|
|
1016
|
+
export type CssModuleGeneratorOptions = {
|
|
1029
1017
|
/**
|
|
1030
1018
|
* Customize how CSS export names are exported to javascript modules
|
|
1031
1019
|
* @default 'as-is'
|
|
@@ -1036,13 +1024,27 @@ export type CssAutoGeneratorOptions = {
|
|
|
1036
1024
|
* If false, generate stylesheets and embed them in the template.
|
|
1037
1025
|
*/
|
|
1038
1026
|
exportsOnly?: CssGeneratorExportsOnly;
|
|
1027
|
+
/**
|
|
1028
|
+
* Digest types used for the hash.
|
|
1029
|
+
*/
|
|
1030
|
+
localIdentHashDigest?: CssGeneratorLocalIdentHashDigest;
|
|
1031
|
+
/**
|
|
1032
|
+
* Number of chars which are used for the hash.
|
|
1033
|
+
*/
|
|
1034
|
+
localIdentHashDigestLength?: CssGeneratorLocalIdentHashDigestLength;
|
|
1035
|
+
/**
|
|
1036
|
+
* Algorithm used for generation the hash.
|
|
1037
|
+
*/
|
|
1038
|
+
localIdentHashFunction?: CssGeneratorLocalIdentHashFunction;
|
|
1039
|
+
/**
|
|
1040
|
+
* Any string which is added to the hash to salt it.
|
|
1041
|
+
*/
|
|
1042
|
+
localIdentHashSalt?: CssGeneratorLocalIdentHashSalt;
|
|
1039
1043
|
/** Customize the format of the local class names generated for CSS modules */
|
|
1040
1044
|
localIdentName?: CssGeneratorLocalIdentName;
|
|
1041
1045
|
/** This configuration is available for improved ESM-CJS interoperability purposes. */
|
|
1042
1046
|
esModule?: CssGeneratorEsModule;
|
|
1043
1047
|
};
|
|
1044
|
-
/** Generator options for css/module modules. */
|
|
1045
|
-
export type CssModuleGeneratorOptions = CssAutoGeneratorOptions;
|
|
1046
1048
|
/** Generator options for json modules. */
|
|
1047
1049
|
export type JsonGeneratorOptions = {
|
|
1048
1050
|
/**
|
|
@@ -1061,7 +1063,9 @@ export type GeneratorOptionsByModuleTypeKnown = {
|
|
|
1061
1063
|
/** Generator options for css modules. */
|
|
1062
1064
|
css?: CssGeneratorOptions;
|
|
1063
1065
|
/** Generator options for css/auto modules. */
|
|
1064
|
-
'css/auto'?:
|
|
1066
|
+
'css/auto'?: CssModuleGeneratorOptions;
|
|
1067
|
+
/** Generator options for css/global modules. */
|
|
1068
|
+
'css/global'?: CssModuleGeneratorOptions;
|
|
1065
1069
|
/** Generator options for css/module modules. */
|
|
1066
1070
|
'css/module'?: CssModuleGeneratorOptions;
|
|
1067
1071
|
/** Generator options for json modules. */
|
package/dist/index.js
CHANGED
|
@@ -14616,9 +14616,9 @@ __webpack_require__.add({
|
|
|
14616
14616
|
}
|
|
14617
14617
|
utils.intFromLE = intFromLE;
|
|
14618
14618
|
},
|
|
14619
|
-
"../../node_modules/.pnpm/enhanced-resolve@5.21.
|
|
14619
|
+
"../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
14620
14620
|
var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
14621
|
-
const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.
|
|
14621
|
+
const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/util/process-browser.js");
|
|
14622
14622
|
const dirname = (path)=>{
|
|
14623
14623
|
let idx = path.length - 1;
|
|
14624
14624
|
while(idx >= 0){
|
|
@@ -14913,7 +14913,7 @@ __webpack_require__.add({
|
|
|
14913
14913
|
}
|
|
14914
14914
|
};
|
|
14915
14915
|
},
|
|
14916
|
-
"../../node_modules/.pnpm/enhanced-resolve@5.21.
|
|
14916
|
+
"../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
|
|
14917
14917
|
module.exports = {
|
|
14918
14918
|
versions: {},
|
|
14919
14919
|
nextTick (fn) {
|
|
@@ -15756,7 +15756,7 @@ __webpack_require__.add({
|
|
|
15756
15756
|
]
|
|
15757
15757
|
};
|
|
15758
15758
|
var bind = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");
|
|
15759
|
-
var hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.
|
|
15759
|
+
var hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js");
|
|
15760
15760
|
var $concat = bind.call($call, Array.prototype.concat);
|
|
15761
15761
|
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
15762
15762
|
var $replace = bind.call($call, String.prototype.replace);
|
|
@@ -18248,7 +18248,7 @@ __webpack_require__.add({
|
|
|
18248
18248
|
}
|
|
18249
18249
|
exports.shr64_lo = shr64_lo;
|
|
18250
18250
|
},
|
|
18251
|
-
"../../node_modules/.pnpm/hasown@2.0.
|
|
18251
|
+
"../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
18252
18252
|
var call = Function.prototype.call;
|
|
18253
18253
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
18254
18254
|
var bind = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");
|
|
@@ -18546,7 +18546,7 @@ __webpack_require__.add({
|
|
|
18546
18546
|
"../../node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
18547
18547
|
var callBound = __webpack_require__("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js");
|
|
18548
18548
|
var hasToStringTag = __webpack_require__("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")();
|
|
18549
|
-
var hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.
|
|
18549
|
+
var hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js");
|
|
18550
18550
|
var gOPD = __webpack_require__("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js");
|
|
18551
18551
|
var fn;
|
|
18552
18552
|
if (hasToStringTag) {
|
|
@@ -35339,14 +35339,14 @@ __webpack_require__.add({
|
|
|
35339
35339
|
watch: ()=>watch
|
|
35340
35340
|
});
|
|
35341
35341
|
var _napi_rs_wasm_runtime_fs__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.1.4_@emnapi+core@1.10.0_@emnapi+runtime@1.10.0/node_modules/@napi-rs/wasm-runtime/dist/fs.js");
|
|
35342
|
-
var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?
|
|
35342
|
+
var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?c724");
|
|
35343
35343
|
const fs = _rspack_binding__rspack_import_1.__fs;
|
|
35344
35344
|
const volume = _rspack_binding__rspack_import_1.__volume;
|
|
35345
35345
|
const memfs = _napi_rs_wasm_runtime_fs__rspack_import_0.tO;
|
|
35346
35346
|
const { readFileSync, readdirSync, lstat, existsSync, readdir, watch } = fs;
|
|
35347
35347
|
const __rspack_default_export = fs;
|
|
35348
35348
|
},
|
|
35349
|
-
"@rspack/binding?
|
|
35349
|
+
"@rspack/binding?c724" (module) {
|
|
35350
35350
|
module.exports = __rspack_external__rspack_wasi_browser_js_bd433424;
|
|
35351
35351
|
},
|
|
35352
35352
|
"?7763" () {},
|
|
@@ -56121,7 +56121,7 @@ function canInherentFromParent(affectedHooks) {
|
|
|
56121
56121
|
if (void 0 === affectedHooks) return false;
|
|
56122
56122
|
return !HOOKS_CAN_NOT_INHERENT_FROM_PARENT.includes(affectedHooks);
|
|
56123
56123
|
}
|
|
56124
|
-
class
|
|
56124
|
+
class base_RspackBuiltinPlugin {
|
|
56125
56125
|
affectedHooks;
|
|
56126
56126
|
apply(compiler) {
|
|
56127
56127
|
const raw = this.raw(compiler);
|
|
@@ -56131,14 +56131,14 @@ class RspackBuiltinPlugin {
|
|
|
56131
56131
|
}
|
|
56132
56132
|
}
|
|
56133
56133
|
}
|
|
56134
|
-
function
|
|
56134
|
+
function base_createBuiltinPlugin(name, options) {
|
|
56135
56135
|
return {
|
|
56136
56136
|
name: name,
|
|
56137
56137
|
options: options ?? false
|
|
56138
56138
|
};
|
|
56139
56139
|
}
|
|
56140
56140
|
function base_create(name, resolve, affectedHooks) {
|
|
56141
|
-
class Plugin extends
|
|
56141
|
+
class Plugin extends base_RspackBuiltinPlugin {
|
|
56142
56142
|
name = name;
|
|
56143
56143
|
_args;
|
|
56144
56144
|
affectedHooks = affectedHooks;
|
|
@@ -56147,7 +56147,7 @@ function base_create(name, resolve, affectedHooks) {
|
|
|
56147
56147
|
this._args = args;
|
|
56148
56148
|
}
|
|
56149
56149
|
raw(compiler) {
|
|
56150
|
-
return
|
|
56150
|
+
return base_createBuiltinPlugin(name, resolve.apply(compiler, this._args));
|
|
56151
56151
|
}
|
|
56152
56152
|
}
|
|
56153
56153
|
Object.defineProperty(Plugin, 'name', {
|
|
@@ -56186,7 +56186,13 @@ const BundlerInfoRspackPlugin = base_create(external_rspack_wasi_browser_js_Buil
|
|
|
56186
56186
|
}));
|
|
56187
56187
|
const CaseSensitivePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CaseSensitivePlugin, ()=>{}, 'compilation');
|
|
56188
56188
|
const ChunkPrefetchPreloadPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ChunkPrefetchPreloadPlugin, ()=>{});
|
|
56189
|
-
class
|
|
56189
|
+
class CircularModulesInfoPlugin extends null {
|
|
56190
|
+
name = BuiltinPluginName.CircularModulesInfoPlugin;
|
|
56191
|
+
raw(_compiler) {
|
|
56192
|
+
return createBuiltinPlugin(this.name, void 0);
|
|
56193
|
+
}
|
|
56194
|
+
}
|
|
56195
|
+
class CircularDependencyRspackPlugin extends base_RspackBuiltinPlugin {
|
|
56190
56196
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.CircularDependencyRspackPlugin;
|
|
56191
56197
|
_options;
|
|
56192
56198
|
constructor(options){
|
|
@@ -56216,7 +56222,7 @@ class CircularDependencyRspackPlugin extends RspackBuiltinPlugin {
|
|
|
56216
56222
|
this._options.onEnd(compilation);
|
|
56217
56223
|
} : void 0
|
|
56218
56224
|
};
|
|
56219
|
-
return
|
|
56225
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
56220
56226
|
}
|
|
56221
56227
|
}
|
|
56222
56228
|
const CommonJsChunkFormatPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CommonJsChunkFormatPlugin, ()=>{});
|
|
@@ -56281,6 +56287,7 @@ const CssChunkingPlugin = base_create(rspack_wasi_browser.BuiltinPluginName.CssC
|
|
|
56281
56287
|
}
|
|
56282
56288
|
return options;
|
|
56283
56289
|
});
|
|
56290
|
+
const CssHttpExternalsRspackPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CssHttpExternalsRspackPlugin, ()=>void 0);
|
|
56284
56291
|
const CssModulesPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CssModulesPlugin, ()=>{}, 'compilation');
|
|
56285
56292
|
const path_browserify = __webpack_require__("../../node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js");
|
|
56286
56293
|
var path_browserify_default = /*#__PURE__*/ __webpack_require__.n(path_browserify);
|
|
@@ -56366,18 +56373,18 @@ const normalizeValue = (define1, supportsBigIntLiteral)=>{
|
|
|
56366
56373
|
};
|
|
56367
56374
|
return normalizeObject(define1);
|
|
56368
56375
|
};
|
|
56369
|
-
class DeterministicChunkIdsPlugin extends
|
|
56376
|
+
class DeterministicChunkIdsPlugin extends base_RspackBuiltinPlugin {
|
|
56370
56377
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.DeterministicChunkIdsPlugin;
|
|
56371
56378
|
affectedHooks = 'compilation';
|
|
56372
56379
|
raw() {
|
|
56373
|
-
return
|
|
56380
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
56374
56381
|
}
|
|
56375
56382
|
}
|
|
56376
|
-
class DeterministicModuleIdsPlugin extends
|
|
56383
|
+
class DeterministicModuleIdsPlugin extends base_RspackBuiltinPlugin {
|
|
56377
56384
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.DeterministicModuleIdsPlugin;
|
|
56378
56385
|
affectedHooks = 'compilation';
|
|
56379
56386
|
raw() {
|
|
56380
|
-
return
|
|
56387
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
56381
56388
|
}
|
|
56382
56389
|
}
|
|
56383
56390
|
const DllEntryPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.DllEntryPlugin, (context, entries, options)=>({
|
|
@@ -56446,7 +56453,7 @@ function getRawEntryOptions(entry) {
|
|
|
56446
56453
|
dependOn: entry.dependOn
|
|
56447
56454
|
};
|
|
56448
56455
|
}
|
|
56449
|
-
class DynamicEntryPlugin extends
|
|
56456
|
+
class DynamicEntryPlugin extends base_RspackBuiltinPlugin {
|
|
56450
56457
|
context;
|
|
56451
56458
|
entry;
|
|
56452
56459
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.DynamicEntryPlugin;
|
|
@@ -56468,7 +56475,7 @@ class DynamicEntryPlugin extends RspackBuiltinPlugin {
|
|
|
56468
56475
|
});
|
|
56469
56476
|
}
|
|
56470
56477
|
};
|
|
56471
|
-
return
|
|
56478
|
+
return base_createBuiltinPlugin(this.name, raw);
|
|
56472
56479
|
}
|
|
56473
56480
|
}
|
|
56474
56481
|
const ElectronTargetPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ElectronTargetPlugin, (context)=>context ?? 'none');
|
|
@@ -56525,7 +56532,7 @@ class JsSplitChunkSizes {
|
|
|
56525
56532
|
return sizes;
|
|
56526
56533
|
}
|
|
56527
56534
|
}
|
|
56528
|
-
class SplitChunksPlugin extends
|
|
56535
|
+
class SplitChunksPlugin extends base_RspackBuiltinPlugin {
|
|
56529
56536
|
options;
|
|
56530
56537
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.SplitChunksPlugin;
|
|
56531
56538
|
affectedHooks = 'thisCompilation';
|
|
@@ -56535,7 +56542,7 @@ class SplitChunksPlugin extends RspackBuiltinPlugin {
|
|
|
56535
56542
|
raw(compiler) {
|
|
56536
56543
|
const rawOptions = SplitChunksPlugin_toRawSplitChunksOptions(this.options, compiler);
|
|
56537
56544
|
if (void 0 === rawOptions) throw new Error('rawOptions should not be undefined');
|
|
56538
|
-
return
|
|
56545
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
56539
56546
|
}
|
|
56540
56547
|
}
|
|
56541
56548
|
function SplitChunksPlugin_toRawSplitChunksOptions(sc, compiler) {
|
|
@@ -56608,7 +56615,7 @@ const EnableLibraryPlugin_getEnabledTypes = (compiler)=>{
|
|
|
56608
56615
|
}
|
|
56609
56616
|
return set;
|
|
56610
56617
|
};
|
|
56611
|
-
class EnableLibraryPlugin extends
|
|
56618
|
+
class EnableLibraryPlugin extends base_RspackBuiltinPlugin {
|
|
56612
56619
|
type;
|
|
56613
56620
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.EnableLibraryPlugin;
|
|
56614
56621
|
constructor(type){
|
|
@@ -56625,7 +56632,7 @@ class EnableLibraryPlugin extends RspackBuiltinPlugin {
|
|
|
56625
56632
|
const enabled = EnableLibraryPlugin_getEnabledTypes(compiler);
|
|
56626
56633
|
if (enabled.has(type)) return;
|
|
56627
56634
|
enabled.add(type);
|
|
56628
|
-
return
|
|
56635
|
+
return base_createBuiltinPlugin(this.name, {
|
|
56629
56636
|
libraryType: type,
|
|
56630
56637
|
preserveModules: compiler.options.output.library?.preserveModules,
|
|
56631
56638
|
splitChunks: SplitChunksPlugin_toRawSplitChunksOptions(compiler.options.optimization.splitChunks ?? false, compiler)
|
|
@@ -58804,6 +58811,10 @@ function getRawParserOptions(parser, type) {
|
|
|
58804
58811
|
type: 'css/auto',
|
|
58805
58812
|
cssAuto: getRawCssParserOptions(parser)
|
|
58806
58813
|
};
|
|
58814
|
+
if ('css/global' === type) return {
|
|
58815
|
+
type: 'css/global',
|
|
58816
|
+
cssGlobal: getRawCssParserOptions(parser)
|
|
58817
|
+
};
|
|
58807
58818
|
if ('css/module' === type) return {
|
|
58808
58819
|
type: 'css/module',
|
|
58809
58820
|
cssModule: getRawCssParserOptions(parser)
|
|
@@ -58896,6 +58907,10 @@ function getRawGeneratorOptions(generator, type) {
|
|
|
58896
58907
|
type: 'css/auto',
|
|
58897
58908
|
cssAuto: getRawCssAutoOrModuleGeneratorOptions(generator)
|
|
58898
58909
|
};
|
|
58910
|
+
if ('css/global' === type) return {
|
|
58911
|
+
type: 'css/global',
|
|
58912
|
+
cssGlobal: getRawCssAutoOrModuleGeneratorOptions(generator)
|
|
58913
|
+
};
|
|
58899
58914
|
if ('css/module' === type) return {
|
|
58900
58915
|
type: 'css/module',
|
|
58901
58916
|
cssModule: getRawCssAutoOrModuleGeneratorOptions(generator)
|
|
@@ -58956,6 +58971,10 @@ function getRawCssGeneratorOptions(options) {
|
|
|
58956
58971
|
function getRawCssAutoOrModuleGeneratorOptions(options) {
|
|
58957
58972
|
return {
|
|
58958
58973
|
localIdentName: options.localIdentName,
|
|
58974
|
+
localIdentHashDigest: options.localIdentHashDigest,
|
|
58975
|
+
localIdentHashDigestLength: options.localIdentHashDigestLength,
|
|
58976
|
+
localIdentHashFunction: options.localIdentHashFunction,
|
|
58977
|
+
localIdentHashSalt: options.localIdentHashSalt,
|
|
58959
58978
|
exportsConvention: options.exportsConvention,
|
|
58960
58979
|
exportsOnly: options.exportsOnly,
|
|
58961
58980
|
esModule: options.esModule
|
|
@@ -58982,7 +59001,7 @@ function getRawStats(stats) {
|
|
|
58982
59001
|
colors
|
|
58983
59002
|
};
|
|
58984
59003
|
}
|
|
58985
|
-
class ExternalsPlugin extends
|
|
59004
|
+
class ExternalsPlugin extends base_RspackBuiltinPlugin {
|
|
58986
59005
|
type;
|
|
58987
59006
|
externals;
|
|
58988
59007
|
placeInInitial;
|
|
@@ -59001,7 +59020,7 @@ class ExternalsPlugin extends RspackBuiltinPlugin {
|
|
|
59001
59020
|
]).filter(Boolean).map((item)=>this.#getRawExternalItem(item)),
|
|
59002
59021
|
placeInInitial: this.placeInInitial ?? false
|
|
59003
59022
|
};
|
|
59004
|
-
return
|
|
59023
|
+
return base_createBuiltinPlugin(this.name, raw);
|
|
59005
59024
|
}
|
|
59006
59025
|
#processResolveResult = (text)=>{
|
|
59007
59026
|
if (!text) return;
|
|
@@ -59090,7 +59109,7 @@ function getRawExternalItemValue(value) {
|
|
|
59090
59109
|
const FetchCompileAsyncWasmPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FetchCompileAsyncWasmPlugin, ()=>{}, 'thisCompilation');
|
|
59091
59110
|
const FileUriPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FileUriPlugin, ()=>{}, 'compilation');
|
|
59092
59111
|
const FlagDependencyExportsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FlagDependencyExportsPlugin, ()=>{}, 'compilation');
|
|
59093
|
-
class FlagDependencyUsagePlugin extends
|
|
59112
|
+
class FlagDependencyUsagePlugin extends base_RspackBuiltinPlugin {
|
|
59094
59113
|
global;
|
|
59095
59114
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.FlagDependencyUsagePlugin;
|
|
59096
59115
|
affectedHooks = 'compilation';
|
|
@@ -59098,21 +59117,20 @@ class FlagDependencyUsagePlugin extends RspackBuiltinPlugin {
|
|
|
59098
59117
|
super(), this.global = global;
|
|
59099
59118
|
}
|
|
59100
59119
|
raw() {
|
|
59101
|
-
return
|
|
59120
|
+
return base_createBuiltinPlugin(this.name, this.global);
|
|
59102
59121
|
}
|
|
59103
59122
|
}
|
|
59104
59123
|
const HashedModuleIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HashedModuleIdsPlugin, (options)=>({
|
|
59105
59124
|
...options
|
|
59106
59125
|
}), 'compilation');
|
|
59107
|
-
class HotModuleReplacementPlugin extends
|
|
59126
|
+
class HotModuleReplacementPlugin extends base_RspackBuiltinPlugin {
|
|
59108
59127
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.HotModuleReplacementPlugin;
|
|
59109
59128
|
raw(compiler) {
|
|
59110
59129
|
if (void 0 === compiler.options.output.strictModuleErrorHandling) compiler.options.output.strictModuleErrorHandling = true;
|
|
59111
|
-
return
|
|
59130
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
59112
59131
|
}
|
|
59113
59132
|
}
|
|
59114
|
-
const HttpExternalsRspackPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HttpExternalsRspackPlugin, (
|
|
59115
|
-
css,
|
|
59133
|
+
const HttpExternalsRspackPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HttpExternalsRspackPlugin, (webAsync)=>({
|
|
59116
59134
|
webAsync
|
|
59117
59135
|
}));
|
|
59118
59136
|
var HttpUriPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
|
|
@@ -59131,7 +59149,7 @@ const defaultHttpClientForBrowser = async (url, headers)=>{
|
|
|
59131
59149
|
body: HttpUriPlugin_Buffer.from(await res.arrayBuffer())
|
|
59132
59150
|
};
|
|
59133
59151
|
};
|
|
59134
|
-
class HttpUriPlugin extends
|
|
59152
|
+
class HttpUriPlugin extends base_RspackBuiltinPlugin {
|
|
59135
59153
|
options;
|
|
59136
59154
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.HttpUriPlugin;
|
|
59137
59155
|
affectedHooks = 'compilation';
|
|
@@ -59150,7 +59168,7 @@ class HttpUriPlugin extends RspackBuiltinPlugin {
|
|
|
59150
59168
|
upgrade: options.upgrade ?? false,
|
|
59151
59169
|
httpClient: options.httpClient ?? defaultHttpClient
|
|
59152
59170
|
};
|
|
59153
|
-
return
|
|
59171
|
+
return base_createBuiltinPlugin(this.name, raw);
|
|
59154
59172
|
}
|
|
59155
59173
|
}
|
|
59156
59174
|
const compilationOptionsMap = new WeakMap();
|
|
@@ -59366,11 +59384,11 @@ const IgnorePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginNa
|
|
|
59366
59384
|
const InferAsyncModulesPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.InferAsyncModulesPlugin, ()=>{}, 'compilation');
|
|
59367
59385
|
const InlineExportsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.InlineExportsPlugin, ()=>{}, 'compilation');
|
|
59368
59386
|
const JavascriptModulesPlugin_compilationHooksMap = new WeakMap();
|
|
59369
|
-
class JavascriptModulesPlugin extends
|
|
59387
|
+
class JavascriptModulesPlugin extends base_RspackBuiltinPlugin {
|
|
59370
59388
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.JavascriptModulesPlugin;
|
|
59371
59389
|
affectedHooks = 'compilation';
|
|
59372
59390
|
raw() {
|
|
59373
|
-
return
|
|
59391
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
59374
59392
|
}
|
|
59375
59393
|
static getCompilationHooks(compilation) {
|
|
59376
59394
|
checkCompilation(compilation);
|
|
@@ -59437,7 +59455,7 @@ const LimitChunkCountPlugin = base_create(external_rspack_wasi_browser_js_Builti
|
|
|
59437
59455
|
const lazyCompilationMiddleware = ()=>{
|
|
59438
59456
|
throw new Error('lazy compilation middleware is not supported in browser');
|
|
59439
59457
|
};
|
|
59440
|
-
class MangleExportsPlugin extends
|
|
59458
|
+
class MangleExportsPlugin extends base_RspackBuiltinPlugin {
|
|
59441
59459
|
deterministic;
|
|
59442
59460
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.MangleExportsPlugin;
|
|
59443
59461
|
affectedHooks = 'compilation';
|
|
@@ -59445,33 +59463,33 @@ class MangleExportsPlugin extends RspackBuiltinPlugin {
|
|
|
59445
59463
|
super(), this.deterministic = deterministic;
|
|
59446
59464
|
}
|
|
59447
59465
|
raw() {
|
|
59448
|
-
return
|
|
59466
|
+
return base_createBuiltinPlugin(this.name, this.deterministic);
|
|
59449
59467
|
}
|
|
59450
59468
|
}
|
|
59451
59469
|
const MergeDuplicateChunksPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.MergeDuplicateChunksPlugin, ()=>{});
|
|
59452
59470
|
const ModuleChunkFormatPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ModuleChunkFormatPlugin, ()=>{});
|
|
59453
|
-
class ModuleConcatenationPlugin extends
|
|
59471
|
+
class ModuleConcatenationPlugin extends base_RspackBuiltinPlugin {
|
|
59454
59472
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ModuleConcatenationPlugin;
|
|
59455
59473
|
affectedHooks = 'compilation';
|
|
59456
59474
|
raw() {
|
|
59457
|
-
return
|
|
59475
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
59458
59476
|
}
|
|
59459
59477
|
}
|
|
59460
59478
|
const ModuleInfoHeaderPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ModuleInfoHeaderPlugin, (verbose)=>verbose, 'compilation');
|
|
59461
59479
|
const NamedChunkIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NamedChunkIdsPlugin, ()=>{}, 'compilation');
|
|
59462
59480
|
const NamedModuleIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NamedModuleIdsPlugin, ()=>{}, 'compilation');
|
|
59463
|
-
class NaturalChunkIdsPlugin extends
|
|
59481
|
+
class NaturalChunkIdsPlugin extends base_RspackBuiltinPlugin {
|
|
59464
59482
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.NaturalChunkIdsPlugin;
|
|
59465
59483
|
affectedHooks = 'compilation';
|
|
59466
59484
|
raw() {
|
|
59467
|
-
return
|
|
59485
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
59468
59486
|
}
|
|
59469
59487
|
}
|
|
59470
|
-
class NaturalModuleIdsPlugin extends
|
|
59488
|
+
class NaturalModuleIdsPlugin extends base_RspackBuiltinPlugin {
|
|
59471
59489
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.NaturalModuleIdsPlugin;
|
|
59472
59490
|
affectedHooks = 'compilation';
|
|
59473
59491
|
raw() {
|
|
59474
|
-
return
|
|
59492
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
59475
59493
|
}
|
|
59476
59494
|
}
|
|
59477
59495
|
const NodeTargetPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NodeTargetPlugin, ()=>void 0);
|
|
@@ -59693,7 +59711,7 @@ class Coordinator {
|
|
|
59693
59711
|
});
|
|
59694
59712
|
}
|
|
59695
59713
|
}
|
|
59696
|
-
class RscClientPlugin extends
|
|
59714
|
+
class RscClientPlugin extends base_RspackBuiltinPlugin {
|
|
59697
59715
|
name = 'RscClientPlugin';
|
|
59698
59716
|
#options;
|
|
59699
59717
|
constructor(options){
|
|
@@ -59702,12 +59720,12 @@ class RscClientPlugin extends RspackBuiltinPlugin {
|
|
|
59702
59720
|
}
|
|
59703
59721
|
raw(compiler) {
|
|
59704
59722
|
this.#options.coordinator.applyClientCompiler(compiler);
|
|
59705
|
-
return
|
|
59723
|
+
return base_createBuiltinPlugin(this.name, {
|
|
59706
59724
|
coordinator: this.#options.coordinator[GET_OR_INIT_BINDING]()
|
|
59707
59725
|
});
|
|
59708
59726
|
}
|
|
59709
59727
|
}
|
|
59710
|
-
class RscServerPlugin extends
|
|
59728
|
+
class RscServerPlugin extends base_RspackBuiltinPlugin {
|
|
59711
59729
|
name = 'RscServerPlugin';
|
|
59712
59730
|
#options;
|
|
59713
59731
|
constructor(options){
|
|
@@ -59719,7 +59737,7 @@ class RscServerPlugin extends RspackBuiltinPlugin {
|
|
|
59719
59737
|
const { coordinator, onServerComponentChanges } = this.#options;
|
|
59720
59738
|
let onManifest;
|
|
59721
59739
|
if (this.#options.onManifest) onManifest = (json)=>Promise.resolve(this.#options.onManifest(JSON.parse(json)));
|
|
59722
|
-
return
|
|
59740
|
+
return base_createBuiltinPlugin(this.name, {
|
|
59723
59741
|
coordinator: coordinator[GET_OR_INIT_BINDING](),
|
|
59724
59742
|
cssLink: this.#options.cssLink,
|
|
59725
59743
|
onServerComponentChanges,
|
|
@@ -59753,7 +59771,7 @@ const rsc = {
|
|
|
59753
59771
|
ssr: 'server-side-rendering'
|
|
59754
59772
|
}
|
|
59755
59773
|
};
|
|
59756
|
-
class SideEffectsFlagPlugin extends
|
|
59774
|
+
class SideEffectsFlagPlugin extends base_RspackBuiltinPlugin {
|
|
59757
59775
|
analyzeSideEffectsFree;
|
|
59758
59776
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.SideEffectsFlagPlugin;
|
|
59759
59777
|
affectedHooks = 'compilation';
|
|
@@ -59761,7 +59779,7 @@ class SideEffectsFlagPlugin extends RspackBuiltinPlugin {
|
|
|
59761
59779
|
super(), this.analyzeSideEffectsFree = analyzeSideEffectsFree;
|
|
59762
59780
|
}
|
|
59763
59781
|
raw() {
|
|
59764
|
-
return
|
|
59782
|
+
return base_createBuiltinPlugin(this.name, this.analyzeSideEffectsFree);
|
|
59765
59783
|
}
|
|
59766
59784
|
}
|
|
59767
59785
|
const SizeLimitsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.SizeLimitsPlugin, (options)=>{
|
|
@@ -60003,7 +60021,7 @@ const SwcJsMinimizerRspackPlugin = base_create(external_rspack_wasi_browser_js_B
|
|
|
60003
60021
|
};
|
|
60004
60022
|
}, 'compilation');
|
|
60005
60023
|
const URLPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.URLPlugin, ()=>{}, 'compilation');
|
|
60006
|
-
class WorkerPlugin extends
|
|
60024
|
+
class WorkerPlugin extends base_RspackBuiltinPlugin {
|
|
60007
60025
|
chunkLoading;
|
|
60008
60026
|
wasmLoading;
|
|
60009
60027
|
module;
|
|
@@ -60016,7 +60034,7 @@ class WorkerPlugin extends RspackBuiltinPlugin {
|
|
|
60016
60034
|
raw(compiler) {
|
|
60017
60035
|
if (this.chunkLoading) new EnableChunkLoadingPlugin(this.chunkLoading).apply(compiler);
|
|
60018
60036
|
if (this.wasmLoading) new EnableWasmLoadingPlugin(this.wasmLoading).apply(compiler);
|
|
60019
|
-
return
|
|
60037
|
+
return base_createBuiltinPlugin(this.name, void 0);
|
|
60020
60038
|
}
|
|
60021
60039
|
}
|
|
60022
60040
|
class ContextModuleFactory {
|
|
@@ -61353,19 +61371,21 @@ const applyRspackOptionsDefaults = (options)=>{
|
|
|
61353
61371
|
applySnapshotDefaults(options.snapshot, {
|
|
61354
61372
|
production
|
|
61355
61373
|
});
|
|
61374
|
+
applyOutputDefaults(options, {
|
|
61375
|
+
context: options.context,
|
|
61376
|
+
targetProperties,
|
|
61377
|
+
isAffectedByBrowserslist: void 0 === target || 'string' == typeof target && target.startsWith('browserslist') || Array.isArray(target) && target.some((target)=>target.startsWith('browserslist')),
|
|
61378
|
+
entry: options.entry
|
|
61379
|
+
});
|
|
61356
61380
|
applyModuleDefaults(options.module, {
|
|
61357
61381
|
asyncWebAssembly: options.experiments.asyncWebAssembly,
|
|
61358
61382
|
targetProperties,
|
|
61359
61383
|
mode: options.mode,
|
|
61360
61384
|
uniqueName: options.output.uniqueName,
|
|
61361
61385
|
deferImport: options.experiments.deferImport,
|
|
61362
|
-
outputModule: options.output.module
|
|
61363
|
-
|
|
61364
|
-
|
|
61365
|
-
context: options.context,
|
|
61366
|
-
targetProperties,
|
|
61367
|
-
isAffectedByBrowserslist: void 0 === target || 'string' == typeof target && target.startsWith('browserslist') || Array.isArray(target) && target.some((target)=>target.startsWith('browserslist')),
|
|
61368
|
-
entry: options.entry
|
|
61386
|
+
outputModule: options.output.module,
|
|
61387
|
+
hashFunction: options.output.hashFunction,
|
|
61388
|
+
hashSalt: options.output.hashSalt
|
|
61369
61389
|
});
|
|
61370
61390
|
applyExternalsPresetsDefaults(options.externalsPresets, {
|
|
61371
61391
|
targetProperties,
|
|
@@ -61480,10 +61500,20 @@ const applyCssGeneratorOptionsDefaults = (generatorOptions, { targetProperties }
|
|
|
61480
61500
|
D(generatorOptions, 'exportsOnly', !targetProperties || false === targetProperties.document);
|
|
61481
61501
|
D(generatorOptions, 'esModule', true);
|
|
61482
61502
|
};
|
|
61503
|
+
const applyCssModuleGeneratorOptionsDefaults = (generatorOptions, { hashFunction, hashSalt, localIdentName, targetProperties })=>{
|
|
61504
|
+
D(generatorOptions, 'exportsOnly', !targetProperties || false === targetProperties.document);
|
|
61505
|
+
D(generatorOptions, 'esModule', true);
|
|
61506
|
+
D(generatorOptions, 'exportsConvention', 'as-is');
|
|
61507
|
+
D(generatorOptions, 'localIdentName', localIdentName);
|
|
61508
|
+
D(generatorOptions, 'localIdentHashSalt', hashSalt);
|
|
61509
|
+
D(generatorOptions, 'localIdentHashFunction', hashFunction);
|
|
61510
|
+
D(generatorOptions, 'localIdentHashDigest', 'base64url');
|
|
61511
|
+
D(generatorOptions, 'localIdentHashDigestLength', 6);
|
|
61512
|
+
};
|
|
61483
61513
|
const applyJsonGeneratorOptionsDefaults = (generatorOptions)=>{
|
|
61484
61514
|
D(generatorOptions, 'JSONParse', true);
|
|
61485
61515
|
};
|
|
61486
|
-
const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode, uniqueName, deferImport, outputModule })=>{
|
|
61516
|
+
const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode, uniqueName, deferImport, outputModule, hashFunction, hashSalt })=>{
|
|
61487
61517
|
assertNotNill(module.parser);
|
|
61488
61518
|
assertNotNill(module.generator);
|
|
61489
61519
|
F(module.parser, "asset", ()=>({}));
|
|
@@ -61510,6 +61540,10 @@ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode,
|
|
|
61510
61540
|
assertNotNill(module.parser['css/auto']);
|
|
61511
61541
|
D(module.parser['css/auto'], 'namedExports', true);
|
|
61512
61542
|
D(module.parser['css/auto'], 'url', true);
|
|
61543
|
+
F(module.parser, 'css/global', ()=>({}));
|
|
61544
|
+
assertNotNill(module.parser['css/global']);
|
|
61545
|
+
D(module.parser['css/global'], 'namedExports', true);
|
|
61546
|
+
D(module.parser['css/global'], 'url', true);
|
|
61513
61547
|
F(module.parser, 'css/module', ()=>({}));
|
|
61514
61548
|
assertNotNill(module.parser['css/module']);
|
|
61515
61549
|
D(module.parser['css/module'], 'namedExports', true);
|
|
@@ -61521,19 +61555,29 @@ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode,
|
|
|
61521
61555
|
});
|
|
61522
61556
|
F(module.generator, 'css/auto', ()=>({}));
|
|
61523
61557
|
assertNotNill(module.generator['css/auto']);
|
|
61524
|
-
|
|
61558
|
+
const localIdentName = 'development' === mode ? uniqueName && uniqueName.length > 0 ? '[uniqueName]-[id]-[local]' : '[id]-[local]' : '[fullhash]';
|
|
61559
|
+
applyCssModuleGeneratorOptionsDefaults(module.generator['css/auto'], {
|
|
61560
|
+
hashFunction,
|
|
61561
|
+
hashSalt,
|
|
61562
|
+
localIdentName,
|
|
61525
61563
|
targetProperties
|
|
61526
61564
|
});
|
|
61527
|
-
D(module.generator['css/auto'], 'exportsConvention', 'as-is');
|
|
61528
|
-
const localIdentName = 'development' === mode ? uniqueName && uniqueName.length > 0 ? '[uniqueName]-[id]-[local]' : '[id]-[local]' : '[fullhash]';
|
|
61529
|
-
D(module.generator['css/auto'], 'localIdentName', localIdentName);
|
|
61530
61565
|
F(module.generator, 'css/module', ()=>({}));
|
|
61531
61566
|
assertNotNill(module.generator['css/module']);
|
|
61532
|
-
|
|
61567
|
+
applyCssModuleGeneratorOptionsDefaults(module.generator['css/module'], {
|
|
61568
|
+
hashFunction,
|
|
61569
|
+
hashSalt,
|
|
61570
|
+
localIdentName,
|
|
61571
|
+
targetProperties
|
|
61572
|
+
});
|
|
61573
|
+
F(module.generator, 'css/global', ()=>({}));
|
|
61574
|
+
assertNotNill(module.generator['css/global']);
|
|
61575
|
+
applyCssModuleGeneratorOptionsDefaults(module.generator['css/global'], {
|
|
61576
|
+
hashFunction,
|
|
61577
|
+
hashSalt,
|
|
61578
|
+
localIdentName,
|
|
61533
61579
|
targetProperties
|
|
61534
61580
|
});
|
|
61535
|
-
D(module.generator['css/module'], 'exportsConvention', 'as-is');
|
|
61536
|
-
D(module.generator['css/module'], 'localIdentName', localIdentName);
|
|
61537
61581
|
A(module, 'defaultRules', ()=>{
|
|
61538
61582
|
const esm = {
|
|
61539
61583
|
type: "javascript/esm",
|
|
@@ -61858,7 +61902,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
|
|
|
61858
61902
|
});
|
|
61859
61903
|
D(output, 'bundlerInfo', {});
|
|
61860
61904
|
if ('object' == typeof output.bundlerInfo) {
|
|
61861
|
-
D(output.bundlerInfo, 'version', "2.0.
|
|
61905
|
+
D(output.bundlerInfo, 'version', "2.0.4");
|
|
61862
61906
|
D(output.bundlerInfo, 'bundler', 'rspack');
|
|
61863
61907
|
D(output.bundlerInfo, 'force', false);
|
|
61864
61908
|
}
|
|
@@ -63516,7 +63560,7 @@ class MultiStats {
|
|
|
63516
63560
|
return obj;
|
|
63517
63561
|
});
|
|
63518
63562
|
if (childOptions.version) {
|
|
63519
|
-
obj.rspackVersion = "2.0.
|
|
63563
|
+
obj.rspackVersion = "2.0.4";
|
|
63520
63564
|
obj.version = "5.75.0";
|
|
63521
63565
|
}
|
|
63522
63566
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
|
|
@@ -64393,7 +64437,7 @@ function nodeConsole({ colors, appendOnly, stream }) {
|
|
|
64393
64437
|
}
|
|
64394
64438
|
};
|
|
64395
64439
|
}
|
|
64396
|
-
const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.
|
|
64440
|
+
const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
|
|
64397
64441
|
var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
|
|
64398
64442
|
class NodeEnvironmentPlugin {
|
|
64399
64443
|
options;
|
|
@@ -65222,7 +65266,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
65222
65266
|
},
|
|
65223
65267
|
version: (object)=>{
|
|
65224
65268
|
object.version = "5.75.0";
|
|
65225
|
-
object.rspackVersion = "2.0.
|
|
65269
|
+
object.rspackVersion = "2.0.4";
|
|
65226
65270
|
},
|
|
65227
65271
|
env: (object, _compilation, _context, { _env })=>{
|
|
65228
65272
|
object.env = _env;
|
|
@@ -66728,13 +66772,16 @@ class RspackOptionsApply {
|
|
|
66728
66772
|
if (!options.externalsType) throw new Error('options.externalsType should have a value after `applyRspackOptionsDefaults`');
|
|
66729
66773
|
new ExternalsPlugin(options.externalsType, options.externals, false).apply(compiler);
|
|
66730
66774
|
}
|
|
66731
|
-
if (options.externalsPresets.node)
|
|
66775
|
+
if (options.externalsPresets.node) {
|
|
66776
|
+
new NodeTargetPlugin().apply(compiler);
|
|
66777
|
+
new CssHttpExternalsRspackPlugin().apply(compiler);
|
|
66778
|
+
}
|
|
66732
66779
|
if (options.externalsPresets.electronMain) new ElectronTargetPlugin('main').apply(compiler);
|
|
66733
66780
|
if (options.externalsPresets.electronPreload) new ElectronTargetPlugin('preload').apply(compiler);
|
|
66734
66781
|
if (options.externalsPresets.electronRenderer) new ElectronTargetPlugin('renderer').apply(compiler);
|
|
66735
66782
|
if (options.externalsPresets.electron && !options.externalsPresets.electronMain && !options.externalsPresets.electronPreload && !options.externalsPresets.electronRenderer) new ElectronTargetPlugin().apply(compiler);
|
|
66736
66783
|
if (options.externalsPresets.nwjs) new ExternalsPlugin('node-commonjs', 'nw.gui', false).apply(compiler);
|
|
66737
|
-
if (options.externalsPresets.web || options.externalsPresets.webAsync
|
|
66784
|
+
if (options.externalsPresets.web || options.externalsPresets.webAsync) new HttpExternalsRspackPlugin(!!options.externalsPresets.webAsync).apply(compiler);
|
|
66738
66785
|
new ChunkPrefetchPreloadPlugin().apply(compiler);
|
|
66739
66786
|
if (options.output.pathinfo) new ModuleInfoHeaderPlugin('verbose' === options.output.pathinfo).apply(compiler);
|
|
66740
66787
|
if ('string' == typeof options.output.chunkFormat) switch(options.output.chunkFormat){
|
|
@@ -68461,7 +68508,7 @@ class Compiler {
|
|
|
68461
68508
|
const rawOptions = getRawOptions(options, this);
|
|
68462
68509
|
rawOptions.__references = Object.fromEntries(this.#ruleSet.builtinReferences.entries());
|
|
68463
68510
|
rawOptions.__virtual_files = VirtualModulesPlugin.__internal__take_virtual_files(this);
|
|
68464
|
-
const instanceBinding = __webpack_require__("@rspack/binding?
|
|
68511
|
+
const instanceBinding = __webpack_require__("@rspack/binding?c724");
|
|
68465
68512
|
this.#registers = this.#createHooksRegisters();
|
|
68466
68513
|
const inputFileSystem = this.inputFileSystem && ThreadsafeInputNodeFS.needsBinding(options.experiments.useInputFileSystem) ? ThreadsafeInputNodeFS.__to_binding(this.inputFileSystem) : void 0;
|
|
68467
68514
|
try {
|
|
@@ -68904,7 +68951,7 @@ function isSingleton(compiler) {
|
|
|
68904
68951
|
function setSingleton(compiler) {
|
|
68905
68952
|
compilerSet.add(compiler);
|
|
68906
68953
|
}
|
|
68907
|
-
class ShareRuntimePlugin extends
|
|
68954
|
+
class ShareRuntimePlugin extends base_RspackBuiltinPlugin {
|
|
68908
68955
|
enhanced;
|
|
68909
68956
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ShareRuntimePlugin;
|
|
68910
68957
|
constructor(enhanced = false){
|
|
@@ -68913,7 +68960,7 @@ class ShareRuntimePlugin extends RspackBuiltinPlugin {
|
|
|
68913
68960
|
raw(compiler) {
|
|
68914
68961
|
if (isSingleton(compiler)) return;
|
|
68915
68962
|
setSingleton(compiler);
|
|
68916
|
-
return
|
|
68963
|
+
return base_createBuiltinPlugin(this.name, this.enhanced);
|
|
68917
68964
|
}
|
|
68918
68965
|
}
|
|
68919
68966
|
const VERSION_PATTERN_REGEXP = /^([\d^=v<>~]|[*xX]$)/;
|
|
@@ -68961,7 +69008,7 @@ function normalizeConsumeShareOptions(consumes, shareScope) {
|
|
|
68961
69008
|
treeShakingMode: item.treeShakingMode
|
|
68962
69009
|
}));
|
|
68963
69010
|
}
|
|
68964
|
-
class ConsumeSharedPlugin extends
|
|
69011
|
+
class ConsumeSharedPlugin extends base_RspackBuiltinPlugin {
|
|
68965
69012
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ConsumeSharedPlugin;
|
|
68966
69013
|
_options;
|
|
68967
69014
|
constructor(options){
|
|
@@ -68980,7 +69027,7 @@ class ConsumeSharedPlugin extends RspackBuiltinPlugin {
|
|
|
68980
69027
|
})),
|
|
68981
69028
|
enhanced: this._options.enhanced
|
|
68982
69029
|
};
|
|
68983
|
-
return
|
|
69030
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
68984
69031
|
}
|
|
68985
69032
|
}
|
|
68986
69033
|
function normalizeProvideShareOptions(options, shareScope, enhanced) {
|
|
@@ -69012,7 +69059,7 @@ function normalizeProvideShareOptions(options, shareScope, enhanced) {
|
|
|
69012
69059
|
return raw;
|
|
69013
69060
|
});
|
|
69014
69061
|
}
|
|
69015
|
-
class ProvideSharedPlugin extends
|
|
69062
|
+
class ProvideSharedPlugin extends base_RspackBuiltinPlugin {
|
|
69016
69063
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ProvideSharedPlugin;
|
|
69017
69064
|
_provides;
|
|
69018
69065
|
_enhanced;
|
|
@@ -69027,7 +69074,7 @@ class ProvideSharedPlugin extends RspackBuiltinPlugin {
|
|
|
69027
69074
|
key,
|
|
69028
69075
|
...v
|
|
69029
69076
|
}));
|
|
69030
|
-
return
|
|
69077
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
69031
69078
|
}
|
|
69032
69079
|
}
|
|
69033
69080
|
function validateShareScope(shareScope, enhanced, pluginName) {
|
|
@@ -69252,7 +69299,7 @@ function normalizeManifestOptions(mfConfig) {
|
|
|
69252
69299
|
name: containerName
|
|
69253
69300
|
};
|
|
69254
69301
|
}
|
|
69255
|
-
class ModuleFederationManifestPlugin extends
|
|
69302
|
+
class ModuleFederationManifestPlugin extends base_RspackBuiltinPlugin {
|
|
69256
69303
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ModuleFederationManifestPlugin;
|
|
69257
69304
|
rawOpts;
|
|
69258
69305
|
constructor(opts){
|
|
@@ -69276,11 +69323,11 @@ class ModuleFederationManifestPlugin extends RspackBuiltinPlugin {
|
|
|
69276
69323
|
shared,
|
|
69277
69324
|
buildInfo: getBuildInfo('development' === compiler.options.mode, compiler, this.rawOpts)
|
|
69278
69325
|
};
|
|
69279
|
-
return
|
|
69326
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
69280
69327
|
}
|
|
69281
69328
|
}
|
|
69282
69329
|
const SHARE_ENTRY_ASSET = 'collect-shared-entries.json';
|
|
69283
|
-
class CollectSharedEntryPlugin extends
|
|
69330
|
+
class CollectSharedEntryPlugin extends base_RspackBuiltinPlugin {
|
|
69284
69331
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.CollectSharedEntryPlugin;
|
|
69285
69332
|
sharedOptions;
|
|
69286
69333
|
_collectedEntries;
|
|
@@ -69320,14 +69367,14 @@ class CollectSharedEntryPlugin extends RspackBuiltinPlugin {
|
|
|
69320
69367
|
})),
|
|
69321
69368
|
filename: this.getFilename()
|
|
69322
69369
|
};
|
|
69323
|
-
return
|
|
69370
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
69324
69371
|
}
|
|
69325
69372
|
}
|
|
69326
69373
|
function assert(condition, msg) {
|
|
69327
69374
|
if (!condition) throw new Error(msg);
|
|
69328
69375
|
}
|
|
69329
69376
|
const HOT_UPDATE_SUFFIX = '.hot-update';
|
|
69330
|
-
class SharedContainerPlugin extends
|
|
69377
|
+
class SharedContainerPlugin extends base_RspackBuiltinPlugin {
|
|
69331
69378
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.SharedContainerPlugin;
|
|
69332
69379
|
filename = '';
|
|
69333
69380
|
_options;
|
|
@@ -69364,7 +69411,7 @@ class SharedContainerPlugin extends RspackBuiltinPlugin {
|
|
|
69364
69411
|
raw(compiler) {
|
|
69365
69412
|
const { library } = this._options;
|
|
69366
69413
|
if (!compiler.options.output.enabledLibraryTypes.includes(library.type)) compiler.options.output.enabledLibraryTypes.push(library.type);
|
|
69367
|
-
return
|
|
69414
|
+
return base_createBuiltinPlugin(this.name, this._options);
|
|
69368
69415
|
}
|
|
69369
69416
|
apply(compiler) {
|
|
69370
69417
|
super.apply(compiler);
|
|
@@ -69385,7 +69432,7 @@ class SharedContainerPlugin extends RspackBuiltinPlugin {
|
|
|
69385
69432
|
});
|
|
69386
69433
|
}
|
|
69387
69434
|
}
|
|
69388
|
-
class SharedUsedExportsOptimizerPlugin extends
|
|
69435
|
+
class SharedUsedExportsOptimizerPlugin extends base_RspackBuiltinPlugin {
|
|
69389
69436
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.SharedUsedExportsOptimizerPlugin;
|
|
69390
69437
|
sharedOptions;
|
|
69391
69438
|
injectTreeShakingUsedExports;
|
|
@@ -69412,7 +69459,7 @@ class SharedUsedExportsOptimizerPlugin extends RspackBuiltinPlugin {
|
|
|
69412
69459
|
}
|
|
69413
69460
|
raw() {
|
|
69414
69461
|
if (!this.sharedOptions.length) return;
|
|
69415
|
-
return
|
|
69462
|
+
return base_createBuiltinPlugin(this.name, this.buildOptions());
|
|
69416
69463
|
}
|
|
69417
69464
|
}
|
|
69418
69465
|
const VIRTUAL_ENTRY = './virtual-entry.js';
|
|
@@ -69893,7 +69940,7 @@ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallba
|
|
|
69893
69940
|
].join(';');
|
|
69894
69941
|
return `@module-federation/runtime/rspack.js!=!data:text/javascript,${encodeURIComponent(content)}`;
|
|
69895
69942
|
}
|
|
69896
|
-
class ContainerPlugin extends
|
|
69943
|
+
class ContainerPlugin extends base_RspackBuiltinPlugin {
|
|
69897
69944
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ContainerPlugin;
|
|
69898
69945
|
_options;
|
|
69899
69946
|
constructor(options){
|
|
@@ -69940,10 +69987,10 @@ class ContainerPlugin extends RspackBuiltinPlugin {
|
|
|
69940
69987
|
})),
|
|
69941
69988
|
enhanced
|
|
69942
69989
|
};
|
|
69943
|
-
return
|
|
69990
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
69944
69991
|
}
|
|
69945
69992
|
}
|
|
69946
|
-
class ContainerReferencePlugin extends
|
|
69993
|
+
class ContainerReferencePlugin extends base_RspackBuiltinPlugin {
|
|
69947
69994
|
name = external_rspack_wasi_browser_js_BuiltinPluginName.ContainerReferencePlugin;
|
|
69948
69995
|
_options;
|
|
69949
69996
|
constructor(options){
|
|
@@ -69993,7 +70040,7 @@ class ContainerReferencePlugin extends RspackBuiltinPlugin {
|
|
|
69993
70040
|
})),
|
|
69994
70041
|
enhanced: this._options.enhanced
|
|
69995
70042
|
};
|
|
69996
|
-
return
|
|
70043
|
+
return base_createBuiltinPlugin(this.name, rawOptions);
|
|
69997
70044
|
}
|
|
69998
70045
|
}
|
|
69999
70046
|
class ModuleFederationPluginV1 {
|
|
@@ -70051,7 +70098,7 @@ function transformSync(source, options) {
|
|
|
70051
70098
|
const _options = JSON.stringify(options || {});
|
|
70052
70099
|
return rspack_wasi_browser.transformSync(source, _options);
|
|
70053
70100
|
}
|
|
70054
|
-
const exports_rspackVersion = "2.0.
|
|
70101
|
+
const exports_rspackVersion = "2.0.4";
|
|
70055
70102
|
const exports_version = "5.75.0";
|
|
70056
70103
|
const exports_WebpackError = Error;
|
|
70057
70104
|
const exports_config = {
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -603,6 +603,7 @@ export declare enum BuiltinPluginName {
|
|
|
603
603
|
DllReferenceAgencyPlugin = 'DllReferenceAgencyPlugin',
|
|
604
604
|
LibManifestPlugin = 'LibManifestPlugin',
|
|
605
605
|
FlagAllModulesAsUsedPlugin = 'FlagAllModulesAsUsedPlugin',
|
|
606
|
+
CssHttpExternalsRspackPlugin = 'CssHttpExternalsRspackPlugin',
|
|
606
607
|
HttpExternalsRspackPlugin = 'HttpExternalsRspackPlugin',
|
|
607
608
|
CopyRspackPlugin = 'CopyRspackPlugin',
|
|
608
609
|
HtmlRspackPlugin = 'HtmlRspackPlugin',
|
|
@@ -614,6 +615,7 @@ export declare enum BuiltinPluginName {
|
|
|
614
615
|
RsdoctorPlugin = 'RsdoctorPlugin',
|
|
615
616
|
RstestPlugin = 'RstestPlugin',
|
|
616
617
|
RslibPlugin = 'RslibPlugin',
|
|
618
|
+
CircularModulesInfoPlugin = 'CircularModulesInfoPlugin',
|
|
617
619
|
CircularDependencyRspackPlugin = 'CircularDependencyRspackPlugin',
|
|
618
620
|
URLPlugin = 'URLPlugin',
|
|
619
621
|
JsLoaderRspackPlugin = 'JsLoaderRspackPlugin',
|
|
@@ -2091,19 +2093,6 @@ export interface RawCopyRspackPluginOptions {
|
|
|
2091
2093
|
patterns: Array<RawCopyPattern>
|
|
2092
2094
|
}
|
|
2093
2095
|
|
|
2094
|
-
export interface RawCssAutoGeneratorOptions {
|
|
2095
|
-
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only"
|
|
2096
|
-
exportsOnly?: boolean
|
|
2097
|
-
localIdentName?: string
|
|
2098
|
-
esModule?: boolean
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
export interface RawCssAutoParserOptions {
|
|
2102
|
-
namedExports?: boolean
|
|
2103
|
-
url?: boolean
|
|
2104
|
-
resolveImport?: boolean | ((context: { url: string, media: string | undefined, resourcePath: string, supports: string | undefined, layer: string | undefined }) => boolean)
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
2096
|
export interface RawCssChunkingPluginOptions {
|
|
2108
2097
|
strict?: boolean
|
|
2109
2098
|
minSize?: number
|
|
@@ -2139,6 +2128,10 @@ export interface RawCssImportContext {
|
|
|
2139
2128
|
export interface RawCssModuleGeneratorOptions {
|
|
2140
2129
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only"
|
|
2141
2130
|
exportsOnly?: boolean
|
|
2131
|
+
localIdentHashDigest?: string
|
|
2132
|
+
localIdentHashDigestLength?: number
|
|
2133
|
+
localIdentHashFunction?: string
|
|
2134
|
+
localIdentHashSalt?: string
|
|
2142
2135
|
localIdentName?: string
|
|
2143
2136
|
esModule?: boolean
|
|
2144
2137
|
}
|
|
@@ -2303,12 +2296,13 @@ export interface RawFuncUseCtx {
|
|
|
2303
2296
|
}
|
|
2304
2297
|
|
|
2305
2298
|
export interface RawGeneratorOptions {
|
|
2306
|
-
type: "asset" | "asset/inline" | "asset/resource" | "css" | "css/auto" | "css/module" | "json"
|
|
2299
|
+
type: "asset" | "asset/inline" | "asset/resource" | "css" | "css/auto" | "css/global" | "css/module" | "json"
|
|
2307
2300
|
asset?: RawAssetGeneratorOptions
|
|
2308
2301
|
assetInline?: RawAssetInlineGeneratorOptions
|
|
2309
2302
|
assetResource?: RawAssetResourceGeneratorOptions
|
|
2310
2303
|
css?: RawCssGeneratorOptions
|
|
2311
|
-
cssAuto?:
|
|
2304
|
+
cssAuto?: RawCssModuleGeneratorOptions
|
|
2305
|
+
cssGlobal?: RawCssModuleGeneratorOptions
|
|
2312
2306
|
cssModule?: RawCssModuleGeneratorOptions
|
|
2313
2307
|
json?: RawJsonGeneratorOptions
|
|
2314
2308
|
}
|
|
@@ -2353,7 +2347,6 @@ export interface RawHtmlRspackPluginOptions {
|
|
|
2353
2347
|
}
|
|
2354
2348
|
|
|
2355
2349
|
export interface RawHttpExternalsRspackPluginOptions {
|
|
2356
|
-
css: boolean
|
|
2357
2350
|
webAsync: boolean
|
|
2358
2351
|
}
|
|
2359
2352
|
|
|
@@ -2778,10 +2771,11 @@ export interface RawOutputOptions {
|
|
|
2778
2771
|
}
|
|
2779
2772
|
|
|
2780
2773
|
export interface RawParserOptions {
|
|
2781
|
-
type: "asset" | "css" | "css/auto" | "css/module" | "javascript" | "javascript/auto" | "javascript/dynamic" | "javascript/esm" | "json"
|
|
2774
|
+
type: "asset" | "css" | "css/auto" | "css/global" | "css/module" | "javascript" | "javascript/auto" | "javascript/dynamic" | "javascript/esm" | "json"
|
|
2782
2775
|
asset?: RawAssetParserOptions
|
|
2783
2776
|
css?: RawCssParserOptions
|
|
2784
|
-
cssAuto?:
|
|
2777
|
+
cssAuto?: RawCssModuleParserOptions
|
|
2778
|
+
cssGlobal?: RawCssModuleParserOptions
|
|
2785
2779
|
cssModule?: RawCssModuleParserOptions
|
|
2786
2780
|
javascript?: RawJavascriptParserOptions
|
|
2787
2781
|
json?: RawJsonParserOptions
|
package/package.json
CHANGED