@rsbuild/core 1.7.0-beta.0 → 1.7.0-beta.2

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.
@@ -30,461 +30,12 @@
30
30
  }
31
31
  exports.parse = parse;
32
32
  },
33
- 938: (__unused_webpack_module, exports) => {
34
- const mimes = {
35
- "3g2": "video/3gpp2",
36
- "3gp": "video/3gpp",
37
- "3gpp": "video/3gpp",
38
- "3mf": "model/3mf",
39
- aac: "audio/aac",
40
- ac: "application/pkix-attr-cert",
41
- adp: "audio/adpcm",
42
- adts: "audio/aac",
43
- ai: "application/postscript",
44
- aml: "application/automationml-aml+xml",
45
- amlx: "application/automationml-amlx+zip",
46
- amr: "audio/amr",
47
- apng: "image/apng",
48
- appcache: "text/cache-manifest",
49
- appinstaller: "application/appinstaller",
50
- appx: "application/appx",
51
- appxbundle: "application/appxbundle",
52
- asc: "application/pgp-keys",
53
- atom: "application/atom+xml",
54
- atomcat: "application/atomcat+xml",
55
- atomdeleted: "application/atomdeleted+xml",
56
- atomsvc: "application/atomsvc+xml",
57
- au: "audio/basic",
58
- avci: "image/avci",
59
- avcs: "image/avcs",
60
- avif: "image/avif",
61
- aw: "application/applixware",
62
- bdoc: "application/bdoc",
63
- bin: "application/octet-stream",
64
- bmp: "image/bmp",
65
- bpk: "application/octet-stream",
66
- btf: "image/prs.btif",
67
- btif: "image/prs.btif",
68
- buffer: "application/octet-stream",
69
- ccxml: "application/ccxml+xml",
70
- cdfx: "application/cdfx+xml",
71
- cdmia: "application/cdmi-capability",
72
- cdmic: "application/cdmi-container",
73
- cdmid: "application/cdmi-domain",
74
- cdmio: "application/cdmi-object",
75
- cdmiq: "application/cdmi-queue",
76
- cer: "application/pkix-cert",
77
- cgm: "image/cgm",
78
- cjs: "application/node",
79
- class: "application/java-vm",
80
- coffee: "text/coffeescript",
81
- conf: "text/plain",
82
- cpl: "application/cpl+xml",
83
- cpt: "application/mac-compactpro",
84
- crl: "application/pkix-crl",
85
- css: "text/css",
86
- csv: "text/csv",
87
- cu: "application/cu-seeme",
88
- cwl: "application/cwl",
89
- cww: "application/prs.cww",
90
- davmount: "application/davmount+xml",
91
- dbk: "application/docbook+xml",
92
- deb: "application/octet-stream",
93
- def: "text/plain",
94
- deploy: "application/octet-stream",
95
- dib: "image/bmp",
96
- "disposition-notification": "message/disposition-notification",
97
- dist: "application/octet-stream",
98
- distz: "application/octet-stream",
99
- dll: "application/octet-stream",
100
- dmg: "application/octet-stream",
101
- dms: "application/octet-stream",
102
- doc: "application/msword",
103
- dot: "application/msword",
104
- dpx: "image/dpx",
105
- drle: "image/dicom-rle",
106
- dsc: "text/prs.lines.tag",
107
- dssc: "application/dssc+der",
108
- dtd: "application/xml-dtd",
109
- dump: "application/octet-stream",
110
- dwd: "application/atsc-dwd+xml",
111
- ear: "application/java-archive",
112
- ecma: "application/ecmascript",
113
- elc: "application/octet-stream",
114
- emf: "image/emf",
115
- eml: "message/rfc822",
116
- emma: "application/emma+xml",
117
- emotionml: "application/emotionml+xml",
118
- eps: "application/postscript",
119
- epub: "application/epub+zip",
120
- exe: "application/octet-stream",
121
- exi: "application/exi",
122
- exp: "application/express",
123
- exr: "image/aces",
124
- ez: "application/andrew-inset",
125
- fdf: "application/fdf",
126
- fdt: "application/fdt+xml",
127
- fits: "image/fits",
128
- g3: "image/g3fax",
129
- gbr: "application/rpki-ghostbusters",
130
- geojson: "application/geo+json",
131
- gif: "image/gif",
132
- glb: "model/gltf-binary",
133
- gltf: "model/gltf+json",
134
- gml: "application/gml+xml",
135
- gpx: "application/gpx+xml",
136
- gram: "application/srgs",
137
- grxml: "application/srgs+xml",
138
- gxf: "application/gxf",
139
- gz: "application/gzip",
140
- h261: "video/h261",
141
- h263: "video/h263",
142
- h264: "video/h264",
143
- heic: "image/heic",
144
- heics: "image/heic-sequence",
145
- heif: "image/heif",
146
- heifs: "image/heif-sequence",
147
- hej2: "image/hej2k",
148
- held: "application/atsc-held+xml",
149
- hjson: "application/hjson",
150
- hlp: "application/winhlp",
151
- hqx: "application/mac-binhex40",
152
- hsj2: "image/hsj2",
153
- htm: "text/html",
154
- html: "text/html",
155
- ics: "text/calendar",
156
- ief: "image/ief",
157
- ifb: "text/calendar",
158
- iges: "model/iges",
159
- igs: "model/iges",
160
- img: "application/octet-stream",
161
- in: "text/plain",
162
- ini: "text/plain",
163
- ink: "application/inkml+xml",
164
- inkml: "application/inkml+xml",
165
- ipfix: "application/ipfix",
166
- iso: "application/octet-stream",
167
- its: "application/its+xml",
168
- jade: "text/jade",
169
- jar: "application/java-archive",
170
- jhc: "image/jphc",
171
- jls: "image/jls",
172
- jp2: "image/jp2",
173
- jpe: "image/jpeg",
174
- jpeg: "image/jpeg",
175
- jpf: "image/jpx",
176
- jpg: "image/jpeg",
177
- jpg2: "image/jp2",
178
- jpgm: "image/jpm",
179
- jpgv: "video/jpeg",
180
- jph: "image/jph",
181
- jpm: "image/jpm",
182
- jpx: "image/jpx",
183
- js: "text/javascript",
184
- json: "application/json",
185
- json5: "application/json5",
186
- jsonld: "application/ld+json",
187
- jsonml: "application/jsonml+json",
188
- jsx: "text/jsx",
189
- jt: "model/jt",
190
- jxl: "image/jxl",
191
- jxr: "image/jxr",
192
- jxra: "image/jxra",
193
- jxrs: "image/jxrs",
194
- jxs: "image/jxs",
195
- jxsc: "image/jxsc",
196
- jxsi: "image/jxsi",
197
- jxss: "image/jxss",
198
- kar: "audio/midi",
199
- ktx: "image/ktx",
200
- ktx2: "image/ktx2",
201
- less: "text/less",
202
- lgr: "application/lgr+xml",
203
- list: "text/plain",
204
- litcoffee: "text/coffeescript",
205
- log: "text/plain",
206
- lostxml: "application/lost+xml",
207
- lrf: "application/octet-stream",
208
- m1v: "video/mpeg",
209
- m21: "application/mp21",
210
- m2a: "audio/mpeg",
211
- m2t: "video/mp2t",
212
- m2ts: "video/mp2t",
213
- m2v: "video/mpeg",
214
- m3a: "audio/mpeg",
215
- m4a: "audio/mp4",
216
- m4p: "application/mp4",
217
- m4s: "video/iso.segment",
218
- ma: "application/mathematica",
219
- mads: "application/mads+xml",
220
- maei: "application/mmt-aei+xml",
221
- man: "text/troff",
222
- manifest: "text/cache-manifest",
223
- map: "application/json",
224
- mar: "application/octet-stream",
225
- markdown: "text/markdown",
226
- mathml: "application/mathml+xml",
227
- mb: "application/mathematica",
228
- mbox: "application/mbox",
229
- md: "text/markdown",
230
- mdx: "text/mdx",
231
- me: "text/troff",
232
- mesh: "model/mesh",
233
- meta4: "application/metalink4+xml",
234
- metalink: "application/metalink+xml",
235
- mets: "application/mets+xml",
236
- mft: "application/rpki-manifest",
237
- mid: "audio/midi",
238
- midi: "audio/midi",
239
- mime: "message/rfc822",
240
- mj2: "video/mj2",
241
- mjp2: "video/mj2",
242
- mjs: "text/javascript",
243
- mml: "text/mathml",
244
- mods: "application/mods+xml",
245
- mov: "video/quicktime",
246
- mp2: "audio/mpeg",
247
- mp21: "application/mp21",
248
- mp2a: "audio/mpeg",
249
- mp3: "audio/mpeg",
250
- mp4: "video/mp4",
251
- mp4a: "audio/mp4",
252
- mp4s: "application/mp4",
253
- mp4v: "video/mp4",
254
- mpd: "application/dash+xml",
255
- mpe: "video/mpeg",
256
- mpeg: "video/mpeg",
257
- mpf: "application/media-policy-dataset+xml",
258
- mpg: "video/mpeg",
259
- mpg4: "video/mp4",
260
- mpga: "audio/mpeg",
261
- mpp: "application/dash-patch+xml",
262
- mrc: "application/marc",
263
- mrcx: "application/marcxml+xml",
264
- ms: "text/troff",
265
- mscml: "application/mediaservercontrol+xml",
266
- msh: "model/mesh",
267
- msi: "application/octet-stream",
268
- msix: "application/msix",
269
- msixbundle: "application/msixbundle",
270
- msm: "application/octet-stream",
271
- msp: "application/octet-stream",
272
- mtl: "model/mtl",
273
- mts: "video/mp2t",
274
- musd: "application/mmt-usd+xml",
275
- mxf: "application/mxf",
276
- mxmf: "audio/mobile-xmf",
277
- mxml: "application/xv+xml",
278
- n3: "text/n3",
279
- nb: "application/mathematica",
280
- nq: "application/n-quads",
281
- nt: "application/n-triples",
282
- obj: "model/obj",
283
- oda: "application/oda",
284
- oga: "audio/ogg",
285
- ogg: "audio/ogg",
286
- ogv: "video/ogg",
287
- ogx: "application/ogg",
288
- omdoc: "application/omdoc+xml",
289
- onepkg: "application/onenote",
290
- onetmp: "application/onenote",
291
- onetoc: "application/onenote",
292
- onetoc2: "application/onenote",
293
- opf: "application/oebps-package+xml",
294
- opus: "audio/ogg",
295
- otf: "font/otf",
296
- owl: "application/rdf+xml",
297
- oxps: "application/oxps",
298
- p10: "application/pkcs10",
299
- p7c: "application/pkcs7-mime",
300
- p7m: "application/pkcs7-mime",
301
- p7s: "application/pkcs7-signature",
302
- p8: "application/pkcs8",
303
- pdf: "application/pdf",
304
- pfr: "application/font-tdpfr",
305
- pgp: "application/pgp-encrypted",
306
- pkg: "application/octet-stream",
307
- pki: "application/pkixcmp",
308
- pkipath: "application/pkix-pkipath",
309
- pls: "application/pls+xml",
310
- png: "image/png",
311
- prc: "model/prc",
312
- prf: "application/pics-rules",
313
- provx: "application/provenance+xml",
314
- ps: "application/postscript",
315
- pskcxml: "application/pskc+xml",
316
- pti: "image/prs.pti",
317
- qt: "video/quicktime",
318
- raml: "application/raml+yaml",
319
- rapd: "application/route-apd+xml",
320
- rdf: "application/rdf+xml",
321
- relo: "application/p2p-overlay+xml",
322
- rif: "application/reginfo+xml",
323
- rl: "application/resource-lists+xml",
324
- rld: "application/resource-lists-diff+xml",
325
- rmi: "audio/midi",
326
- rnc: "application/relax-ng-compact-syntax",
327
- rng: "application/xml",
328
- roa: "application/rpki-roa",
329
- roff: "text/troff",
330
- rq: "application/sparql-query",
331
- rs: "application/rls-services+xml",
332
- rsat: "application/atsc-rsat+xml",
333
- rsd: "application/rsd+xml",
334
- rsheet: "application/urc-ressheet+xml",
335
- rss: "application/rss+xml",
336
- rtf: "text/rtf",
337
- rtx: "text/richtext",
338
- rusd: "application/route-usd+xml",
339
- s3m: "audio/s3m",
340
- sbml: "application/sbml+xml",
341
- scq: "application/scvp-cv-request",
342
- scs: "application/scvp-cv-response",
343
- sdp: "application/sdp",
344
- senmlx: "application/senml+xml",
345
- sensmlx: "application/sensml+xml",
346
- ser: "application/java-serialized-object",
347
- setpay: "application/set-payment-initiation",
348
- setreg: "application/set-registration-initiation",
349
- sgi: "image/sgi",
350
- sgm: "text/sgml",
351
- sgml: "text/sgml",
352
- shex: "text/shex",
353
- shf: "application/shf+xml",
354
- shtml: "text/html",
355
- sieve: "application/sieve",
356
- sig: "application/pgp-signature",
357
- sil: "audio/silk",
358
- silo: "model/mesh",
359
- siv: "application/sieve",
360
- slim: "text/slim",
361
- slm: "text/slim",
362
- sls: "application/route-s-tsid+xml",
363
- smi: "application/smil+xml",
364
- smil: "application/smil+xml",
365
- snd: "audio/basic",
366
- so: "application/octet-stream",
367
- spdx: "text/spdx",
368
- spp: "application/scvp-vp-response",
369
- spq: "application/scvp-vp-request",
370
- spx: "audio/ogg",
371
- sql: "application/sql",
372
- sru: "application/sru+xml",
373
- srx: "application/sparql-results+xml",
374
- ssdl: "application/ssdl+xml",
375
- ssml: "application/ssml+xml",
376
- stk: "application/hyperstudio",
377
- stl: "model/stl",
378
- stpx: "model/step+xml",
379
- stpxz: "model/step-xml+zip",
380
- stpz: "model/step+zip",
381
- styl: "text/stylus",
382
- stylus: "text/stylus",
383
- svg: "image/svg+xml",
384
- svgz: "image/svg+xml",
385
- swidtag: "application/swid+xml",
386
- t: "text/troff",
387
- t38: "image/t38",
388
- td: "application/urc-targetdesc+xml",
389
- tei: "application/tei+xml",
390
- teicorpus: "application/tei+xml",
391
- text: "text/plain",
392
- tfi: "application/thraud+xml",
393
- tfx: "image/tiff-fx",
394
- tif: "image/tiff",
395
- tiff: "image/tiff",
396
- toml: "application/toml",
397
- tr: "text/troff",
398
- trig: "application/trig",
399
- ts: "video/mp2t",
400
- tsd: "application/timestamped-data",
401
- tsv: "text/tab-separated-values",
402
- ttc: "font/collection",
403
- ttf: "font/ttf",
404
- ttl: "text/turtle",
405
- ttml: "application/ttml+xml",
406
- txt: "text/plain",
407
- u3d: "model/u3d",
408
- u8dsn: "message/global-delivery-status",
409
- u8hdr: "message/global-headers",
410
- u8mdn: "message/global-disposition-notification",
411
- u8msg: "message/global",
412
- ubj: "application/ubjson",
413
- uri: "text/uri-list",
414
- uris: "text/uri-list",
415
- urls: "text/uri-list",
416
- vcard: "text/vcard",
417
- vrml: "model/vrml",
418
- vtt: "text/vtt",
419
- vxml: "application/voicexml+xml",
420
- war: "application/java-archive",
421
- wasm: "application/wasm",
422
- wav: "audio/wav",
423
- weba: "audio/webm",
424
- webm: "video/webm",
425
- webmanifest: "application/manifest+json",
426
- webp: "image/webp",
427
- wgsl: "text/wgsl",
428
- wgt: "application/widget",
429
- wif: "application/watcherinfo+xml",
430
- wmf: "image/wmf",
431
- woff: "font/woff",
432
- woff2: "font/woff2",
433
- wrl: "model/vrml",
434
- wsdl: "application/wsdl+xml",
435
- wspolicy: "application/wspolicy+xml",
436
- x3d: "model/x3d+xml",
437
- x3db: "model/x3d+fastinfoset",
438
- x3dbz: "model/x3d+binary",
439
- x3dv: "model/x3d-vrml",
440
- x3dvz: "model/x3d+vrml",
441
- x3dz: "model/x3d+xml",
442
- xaml: "application/xaml+xml",
443
- xav: "application/xcap-att+xml",
444
- xca: "application/xcap-caps+xml",
445
- xcs: "application/calendar+xml",
446
- xdf: "application/xcap-diff+xml",
447
- xdssc: "application/dssc+xml",
448
- xel: "application/xcap-el+xml",
449
- xenc: "application/xenc+xml",
450
- xer: "application/patch-ops-error+xml",
451
- xfdf: "application/xfdf",
452
- xht: "application/xhtml+xml",
453
- xhtml: "application/xhtml+xml",
454
- xhvml: "application/xv+xml",
455
- xlf: "application/xliff+xml",
456
- xm: "audio/xm",
457
- xml: "text/xml",
458
- xns: "application/xcap-ns+xml",
459
- xop: "application/xop+xml",
460
- xpl: "application/xproc+xml",
461
- xsd: "application/xml",
462
- xsf: "application/prs.xsf+xml",
463
- xsl: "application/xml",
464
- xslt: "application/xml",
465
- xspf: "application/xspf+xml",
466
- xvm: "application/xv+xml",
467
- xvml: "application/xv+xml",
468
- yaml: "text/yaml",
469
- yang: "application/yang",
470
- yin: "application/yin+xml",
471
- yml: "text/yaml",
472
- zip: "application/zip",
473
- };
474
- function lookup(extn) {
475
- let tmp = ("" + extn).trim().toLowerCase();
476
- let idx = tmp.lastIndexOf(".");
477
- return mimes[!~idx ? tmp : tmp.substring(++idx)];
478
- }
479
- exports.mimes = mimes;
480
- exports.lookup = lookup;
481
- },
482
33
  772: (module, __unused_webpack_exports, __nccwpck_require__) => {
483
34
  const fs = __nccwpck_require__(24);
484
35
  const { join, normalize, resolve, sep } = __nccwpck_require__(760);
485
36
  const { totalist } = __nccwpck_require__(481);
486
37
  const { parse } = __nccwpck_require__(917);
487
- const { lookup } = __nccwpck_require__(938);
38
+ const { lookup } = __nccwpck_require__(257);
488
39
  const noop = () => {};
489
40
  function isMatch(uri, arr) {
490
41
  for (let i = 0; i < arr.length; i++) {
@@ -671,6 +222,10 @@
671
222
  }
672
223
  exports.totalist = totalist;
673
224
  },
225
+ 257: (module) => {
226
+ "use strict";
227
+ module.exports = require("../mrmime/index.js");
228
+ },
674
229
  896: (module) => {
675
230
  "use strict";
676
231
  module.exports = require("fs");
@@ -1,16 +1,16 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 30: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- const loader = __nccwpck_require__(812);
4
+ 15: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ const loader = __nccwpck_require__(545);
6
6
  module.exports = loader.default;
7
7
  },
8
- 812: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
+ 545: (__unused_webpack_module, exports, __nccwpck_require__) => {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports["default"] = void 0;
11
11
  var _path = _interopRequireDefault(__nccwpck_require__(928));
12
- var _utils = __nccwpck_require__(181);
13
- var _options = _interopRequireDefault(__nccwpck_require__(914));
12
+ var _utils = __nccwpck_require__(476);
13
+ var _options = _interopRequireDefault(__nccwpck_require__(483));
14
14
  function _interopRequireDefault(obj) {
15
15
  return obj && obj.__esModule ? obj : { default: obj };
16
16
  }
@@ -104,7 +104,7 @@
104
104
  };
105
105
  var _default = (exports["default"] = loader);
106
106
  },
107
- 975: (module) => {
107
+ 150: (module) => {
108
108
  function isEqualLocals(a, b, isNamedExport) {
109
109
  if ((!a && b) || (a && !b)) {
110
110
  return false;
@@ -130,7 +130,7 @@
130
130
  }
131
131
  module.exports = isEqualLocals;
132
132
  },
133
- 181: (__unused_webpack_module, exports, __nccwpck_require__) => {
133
+ 476: (__unused_webpack_module, exports, __nccwpck_require__) => {
134
134
  Object.defineProperty(exports, "__esModule", { value: true });
135
135
  exports.getExportLazyStyleCode = getExportLazyStyleCode;
136
136
  exports.getExportStyleCode = getExportStyleCode;
@@ -151,7 +151,7 @@
151
151
  exports.getdomAPI = getdomAPI;
152
152
  exports.stringifyRequest = stringifyRequest;
153
153
  var _path = _interopRequireDefault(__nccwpck_require__(928));
154
- var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(975));
154
+ var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(150));
155
155
  function _interopRequireDefault(obj) {
156
156
  return obj && obj.__esModule ? obj : { default: obj };
157
157
  }
@@ -394,7 +394,7 @@
394
394
  928: (module) => {
395
395
  module.exports = require("path");
396
396
  },
397
- 914: (module) => {
397
+ 483: (module) => {
398
398
  module.exports = JSON.parse(
399
399
  '{"title":"Style Loader options","type":"object","properties":{"injectType":{"description":"Allows to setup how styles will be injected into DOM.","link":"https://github.com/webpack-contrib/style-loader#injecttype","enum":["styleTag","singletonStyleTag","autoStyleTag","lazyStyleTag","lazySingletonStyleTag","lazyAutoStyleTag","linkTag"]},"attributes":{"description":"Adds custom attributes to tag.","link":"https://github.com/webpack-contrib/style-loader#attributes","type":"object"},"insert":{"description":"Inserts `<style>`/`<link>` at the given position.","link":"https://github.com/webpack-contrib/style-loader#insert","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"base":{"description":"Sets module ID base for DLLPlugin.","link":"https://github.com/webpack-contrib/style-loader#base","type":"number"},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"styleTagTransform":{"description":"Transform tag and css when insert \'style\' tag into the DOM","link":"https://github.com/webpack-contrib/style-loader#styleTagTransform","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
400
400
  );
@@ -422,6 +422,6 @@
422
422
  }
423
423
  if (typeof __nccwpck_require__ !== "undefined")
424
424
  __nccwpck_require__.ab = __dirname + "/";
425
- var __webpack_exports__ = __nccwpck_require__(30);
425
+ var __webpack_exports__ = __nccwpck_require__(15);
426
426
  module.exports = __webpack_exports__;
427
427
  })();