@rsbuild/core 1.1.12 → 1.2.0-alpha.0
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/compiled/chokidar/index.d.ts +24 -6
- package/compiled/chokidar/index.js +16 -13
- package/compiled/chokidar/package.json +1 -1
- package/compiled/css-loader/index.js +20 -20
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/jiti/index.js +56 -31
- package/compiled/jiti/package.json +1 -1
- package/compiled/postcss-load-config/index.js +10 -10
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/rspack-manifest-plugin/index.d.ts +1 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/rspack-manifest-plugin/package.json +1 -1
- package/dist/client/hmr.js +8 -69
- package/dist/client/overlay.js +9 -156
- package/dist/index.cjs +761 -1270
- package/dist/index.js +814 -1321
- package/dist-types/client/hmr.d.ts +1 -1
- package/dist-types/helpers/index.d.ts +2 -0
- package/dist-types/helpers/path.d.ts +2 -0
- package/dist-types/index.d.ts +0 -7
- package/dist-types/plugins/cleanOutput.d.ts +0 -1
- package/dist-types/server/ansiHTML.d.ts +5 -0
- package/dist-types/server/helper.d.ts +6 -0
- package/dist-types/server/overlay.d.ts +2 -0
- package/dist-types/server/socketServer.d.ts +7 -5
- package/dist-types/types/config.d.ts +50 -5
- package/dist-types/types/rsbuild.d.ts +2 -0
- package/package.json +8 -8
- /package/dist-types/{client → helpers}/format.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stats, Dirent } from 'fs';
|
|
1
|
+
import { Stats, Dirent, WatchEventType } from 'fs';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
|
|
@@ -72,6 +72,11 @@ declare const EVENTS: {
|
|
|
72
72
|
readonly ERROR: "error";
|
|
73
73
|
};
|
|
74
74
|
type EventName = (typeof EVENTS)[keyof typeof EVENTS];
|
|
75
|
+
interface WatchHandlers {
|
|
76
|
+
listener: (path: string) => void;
|
|
77
|
+
errHandler: (err: unknown) => void;
|
|
78
|
+
rawEmitter: (ev: WatchEventType, path: string, opts: unknown) => void;
|
|
79
|
+
}
|
|
75
80
|
/**
|
|
76
81
|
* @mixin
|
|
77
82
|
*/
|
|
@@ -125,6 +130,8 @@ declare class NodeFsHandler {
|
|
|
125
130
|
_addToNodeFs(path: string, initialAdd: boolean, priorWh: WatchHelper | undefined, depth: number, target?: string): Promise<string | false | undefined>;
|
|
126
131
|
}
|
|
127
132
|
|
|
133
|
+
/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
|
|
134
|
+
|
|
128
135
|
type AWF = {
|
|
129
136
|
stabilityThreshold: number;
|
|
130
137
|
pollInterval: number;
|
|
@@ -156,7 +163,9 @@ type FSWInstanceOptions = BasicOpts & {
|
|
|
156
163
|
awaitWriteFinish: false | AWF;
|
|
157
164
|
};
|
|
158
165
|
type ThrottleType = 'readdir' | 'watch' | 'add' | 'remove' | 'change';
|
|
159
|
-
type EmitArgs = [
|
|
166
|
+
type EmitArgs = [path: Path, stats?: Stats];
|
|
167
|
+
type EmitErrorArgs = [error: Error, stats?: Stats];
|
|
168
|
+
type EmitArgsWithName = [event: EventName, ...EmitArgs];
|
|
160
169
|
type MatchFunction = (val: string, stats?: Stats) => boolean;
|
|
161
170
|
interface MatcherObject {
|
|
162
171
|
path: string;
|
|
@@ -190,6 +199,15 @@ declare class WatchHelper {
|
|
|
190
199
|
filterPath(entry: EntryInfo): boolean;
|
|
191
200
|
filterDir(entry: EntryInfo): boolean;
|
|
192
201
|
}
|
|
202
|
+
interface FSWatcherKnownEventMap {
|
|
203
|
+
[EVENTS.READY]: [];
|
|
204
|
+
[EVENTS.RAW]: Parameters<WatchHandlers['rawEmitter']>;
|
|
205
|
+
[EVENTS.ERROR]: Parameters<WatchHandlers['errHandler']>;
|
|
206
|
+
[EVENTS.ALL]: [event: EventName, ...EmitArgs];
|
|
207
|
+
}
|
|
208
|
+
type FSWatcherEventMap = FSWatcherKnownEventMap & {
|
|
209
|
+
[k in Exclude<EventName, keyof FSWatcherKnownEventMap>]: EmitArgs;
|
|
210
|
+
};
|
|
193
211
|
/**
|
|
194
212
|
* Watches files & directories for changes. Emitted events:
|
|
195
213
|
* `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `all`, `error`
|
|
@@ -198,7 +216,7 @@ declare class WatchHelper {
|
|
|
198
216
|
* .add(directories)
|
|
199
217
|
* .on('add', path => log('File', path, 'was added'))
|
|
200
218
|
*/
|
|
201
|
-
declare class FSWatcher extends EventEmitter {
|
|
219
|
+
declare class FSWatcher extends EventEmitter<FSWatcherEventMap> {
|
|
202
220
|
closed: boolean;
|
|
203
221
|
options: FSWInstanceOptions;
|
|
204
222
|
_closers: Map<string, Array<any>>;
|
|
@@ -208,13 +226,13 @@ declare class FSWatcher extends EventEmitter {
|
|
|
208
226
|
_symlinkPaths: Map<Path, string | boolean>;
|
|
209
227
|
_watched: Map<string, DirEntry>;
|
|
210
228
|
_pendingWrites: Map<string, any>;
|
|
211
|
-
_pendingUnlinks: Map<string,
|
|
229
|
+
_pendingUnlinks: Map<string, EmitArgsWithName>;
|
|
212
230
|
_readyCount: number;
|
|
213
231
|
_emitReady: () => void;
|
|
214
232
|
_closePromise?: Promise<void>;
|
|
215
233
|
_userIgnored?: MatchFunction;
|
|
216
234
|
_readyEmitted: boolean;
|
|
217
|
-
_emitRaw:
|
|
235
|
+
_emitRaw: WatchHandlers['rawEmitter'];
|
|
218
236
|
_boundRemove: (dir: string, item: string) => void;
|
|
219
237
|
_nodeFsHandler: NodeFsHandler;
|
|
220
238
|
constructor(_opts?: ChokidarOptions);
|
|
@@ -324,4 +342,4 @@ declare const _default: {
|
|
|
324
342
|
FSWatcher: typeof FSWatcher;
|
|
325
343
|
};
|
|
326
344
|
|
|
327
|
-
export { type ChokidarOptions, type EmitArgs, type FSWInstanceOptions, FSWatcher, type MatchFunction, type Matcher, type MatcherObject, type ThrottleType, type Throttler, WatchHelper, _default as default, watch };
|
|
345
|
+
export { type ChokidarOptions, type EmitArgs, type EmitArgsWithName, type EmitErrorArgs, type FSWInstanceOptions, FSWatcher, type FSWatcherEventMap, type FSWatcherKnownEventMap, type MatchFunction, type Matcher, type MatcherObject, type ThrottleType, type Throttler, WatchHelper, _default as default, watch };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
457: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.NodeFsHandler =
|
|
7
7
|
exports.EVENTS =
|
|
8
8
|
exports.isIBMi =
|
|
9
|
+
exports.isFreeBSD =
|
|
9
10
|
exports.isLinux =
|
|
10
11
|
exports.isMacos =
|
|
11
12
|
exports.isWindows =
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
exports.isWindows = pl === "win32";
|
|
31
32
|
exports.isMacos = pl === "darwin";
|
|
32
33
|
exports.isLinux = pl === "linux";
|
|
34
|
+
exports.isFreeBSD = pl === "freebsd";
|
|
33
35
|
exports.isIBMi = (0, os_1.type)() === "OS400";
|
|
34
36
|
exports.EVENTS = {
|
|
35
37
|
ALL: "all",
|
|
@@ -547,7 +549,7 @@
|
|
|
547
549
|
this.fsw._emit(EV.CHANGE, file, newStats);
|
|
548
550
|
}
|
|
549
551
|
if (
|
|
550
|
-
(exports.isMacos || exports.isLinux) &&
|
|
552
|
+
(exports.isMacos || exports.isLinux || exports.isFreeBSD) &&
|
|
551
553
|
prevStats.ino !== newStats.ino
|
|
552
554
|
) {
|
|
553
555
|
this.fsw._closeFile(path);
|
|
@@ -1100,12 +1102,13 @@
|
|
|
1100
1102
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1101
1103
|
exports.FSWatcher = exports.WatchHelper = void 0;
|
|
1102
1104
|
exports.watch = watch;
|
|
1103
|
-
const fs_1 =
|
|
1105
|
+
/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */ const fs_1 =
|
|
1106
|
+
__nccwpck_require__(147);
|
|
1104
1107
|
const promises_1 = __nccwpck_require__(292);
|
|
1105
1108
|
const events_1 = __nccwpck_require__(361);
|
|
1106
1109
|
const sysPath = __nccwpck_require__(17);
|
|
1107
1110
|
const readdirp_1 = __nccwpck_require__(9);
|
|
1108
|
-
const handler_js_1 = __nccwpck_require__(
|
|
1111
|
+
const handler_js_1 = __nccwpck_require__(457);
|
|
1109
1112
|
const SLASH = "/";
|
|
1110
1113
|
const SLASH_SLASH = "//";
|
|
1111
1114
|
const ONE_DOT = ".";
|
|
@@ -1480,16 +1483,16 @@
|
|
|
1480
1483
|
return watchList;
|
|
1481
1484
|
}
|
|
1482
1485
|
emitWithAll(event, args) {
|
|
1483
|
-
this.emit(...args);
|
|
1486
|
+
this.emit(event, ...args);
|
|
1484
1487
|
if (event !== handler_js_1.EVENTS.ERROR)
|
|
1485
|
-
this.emit(handler_js_1.EVENTS.ALL, ...args);
|
|
1488
|
+
this.emit(handler_js_1.EVENTS.ALL, event, ...args);
|
|
1486
1489
|
}
|
|
1487
1490
|
async _emit(event, path, stats) {
|
|
1488
1491
|
if (this.closed) return;
|
|
1489
1492
|
const opts = this.options;
|
|
1490
1493
|
if (handler_js_1.isWindows) path = sysPath.normalize(path);
|
|
1491
1494
|
if (opts.cwd) path = sysPath.relative(opts.cwd, path);
|
|
1492
|
-
const args = [
|
|
1495
|
+
const args = [path];
|
|
1493
1496
|
if (stats != null) args.push(stats);
|
|
1494
1497
|
const awf = opts.awaitWriteFinish;
|
|
1495
1498
|
let pw;
|
|
@@ -1499,7 +1502,7 @@
|
|
|
1499
1502
|
}
|
|
1500
1503
|
if (opts.atomic) {
|
|
1501
1504
|
if (event === handler_js_1.EVENTS.UNLINK) {
|
|
1502
|
-
this._pendingUnlinks.set(path, args);
|
|
1505
|
+
this._pendingUnlinks.set(path, [event, ...args]);
|
|
1503
1506
|
setTimeout(
|
|
1504
1507
|
() => {
|
|
1505
1508
|
this._pendingUnlinks.forEach((entry, path) => {
|
|
@@ -1516,7 +1519,7 @@
|
|
|
1516
1519
|
event === handler_js_1.EVENTS.ADD &&
|
|
1517
1520
|
this._pendingUnlinks.has(path)
|
|
1518
1521
|
) {
|
|
1519
|
-
event =
|
|
1522
|
+
event = handler_js_1.EVENTS.CHANGE;
|
|
1520
1523
|
this._pendingUnlinks.delete(path);
|
|
1521
1524
|
}
|
|
1522
1525
|
}
|
|
@@ -1528,12 +1531,12 @@
|
|
|
1528
1531
|
) {
|
|
1529
1532
|
const awfEmit = (err, stats) => {
|
|
1530
1533
|
if (err) {
|
|
1531
|
-
event =
|
|
1532
|
-
args[
|
|
1534
|
+
event = handler_js_1.EVENTS.ERROR;
|
|
1535
|
+
args[0] = err;
|
|
1533
1536
|
this.emitWithAll(event, args);
|
|
1534
1537
|
} else if (stats) {
|
|
1535
|
-
if (args.length >
|
|
1536
|
-
args[
|
|
1538
|
+
if (args.length > 1) {
|
|
1539
|
+
args[1] = stats;
|
|
1537
1540
|
} else {
|
|
1538
1541
|
args.push(stats);
|
|
1539
1542
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"chokidar","author":"Paul Miller (https://paulmillr.com)","version":"4.0.
|
|
1
|
+
{"name":"chokidar","author":"Paul Miller (https://paulmillr.com)","version":"4.0.3","funding":"https://paulmillr.com/funding/","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
5408: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(2668);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(9709).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
2668: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
11
11
|
"use strict";
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports["default"] = loader;
|
|
14
14
|
var _postcss = _interopRequireDefault(__nccwpck_require__(9961));
|
|
15
15
|
var _package = _interopRequireDefault(__nccwpck_require__(7337));
|
|
16
16
|
var _semver = { satisfies: () => true };
|
|
17
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
18
|
-
var _plugins = __nccwpck_require__(
|
|
19
|
-
var _utils = __nccwpck_require__(
|
|
17
|
+
var _options = _interopRequireDefault(__nccwpck_require__(3255));
|
|
18
|
+
var _plugins = __nccwpck_require__(7064);
|
|
19
|
+
var _utils = __nccwpck_require__(9709);
|
|
20
20
|
function _interopRequireDefault(obj) {
|
|
21
21
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
22
22
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
callback(null, `${importCode}${moduleCode}${exportCode}`);
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
|
-
|
|
246
|
+
7064: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
247
247
|
"use strict";
|
|
248
248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
249
249
|
Object.defineProperty(exports, "icssParser", {
|
|
@@ -265,22 +265,22 @@
|
|
|
265
265
|
},
|
|
266
266
|
});
|
|
267
267
|
var _postcssImportParser = _interopRequireDefault(
|
|
268
|
-
__nccwpck_require__(
|
|
268
|
+
__nccwpck_require__(4990),
|
|
269
269
|
);
|
|
270
270
|
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
__nccwpck_require__(
|
|
271
|
+
__nccwpck_require__(4354),
|
|
272
272
|
);
|
|
273
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
273
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(9215));
|
|
274
274
|
function _interopRequireDefault(obj) {
|
|
275
275
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
-
|
|
278
|
+
4354: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
279
279
|
"use strict";
|
|
280
280
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
281
281
|
exports["default"] = void 0;
|
|
282
282
|
var _icssUtils = __nccwpck_require__(4508);
|
|
283
|
-
var _utils = __nccwpck_require__(
|
|
283
|
+
var _utils = __nccwpck_require__(9709);
|
|
284
284
|
const plugin = (options = {}) => ({
|
|
285
285
|
postcssPlugin: "postcss-icss-parser",
|
|
286
286
|
async OnceExit(root) {
|
|
@@ -379,14 +379,14 @@
|
|
|
379
379
|
plugin.postcss = true;
|
|
380
380
|
var _default = (exports["default"] = plugin);
|
|
381
381
|
},
|
|
382
|
-
|
|
382
|
+
4990: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
383
383
|
"use strict";
|
|
384
384
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
385
385
|
exports["default"] = void 0;
|
|
386
386
|
var _postcssValueParser = _interopRequireDefault(
|
|
387
387
|
__nccwpck_require__(7555),
|
|
388
388
|
);
|
|
389
|
-
var _utils = __nccwpck_require__(
|
|
389
|
+
var _utils = __nccwpck_require__(9709);
|
|
390
390
|
function _interopRequireDefault(obj) {
|
|
391
391
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
392
392
|
}
|
|
@@ -691,14 +691,14 @@
|
|
|
691
691
|
plugin.postcss = true;
|
|
692
692
|
var _default = (exports["default"] = plugin);
|
|
693
693
|
},
|
|
694
|
-
|
|
694
|
+
9215: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
695
695
|
"use strict";
|
|
696
696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
697
697
|
exports["default"] = void 0;
|
|
698
698
|
var _postcssValueParser = _interopRequireDefault(
|
|
699
699
|
__nccwpck_require__(7555),
|
|
700
700
|
);
|
|
701
|
-
var _utils = __nccwpck_require__(
|
|
701
|
+
var _utils = __nccwpck_require__(9709);
|
|
702
702
|
function _interopRequireDefault(obj) {
|
|
703
703
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
704
704
|
}
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
plugin.postcss = true;
|
|
1042
1042
|
var _default = (exports["default"] = plugin);
|
|
1043
1043
|
},
|
|
1044
|
-
|
|
1044
|
+
9709: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1045
1045
|
"use strict";
|
|
1046
1046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1047
1047
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -7968,7 +7968,7 @@
|
|
|
7968
7968
|
"use strict";
|
|
7969
7969
|
module.exports = require("util");
|
|
7970
7970
|
},
|
|
7971
|
-
|
|
7971
|
+
3255: (module) => {
|
|
7972
7972
|
"use strict";
|
|
7973
7973
|
module.exports = JSON.parse(
|
|
7974
7974
|
'{"title":"CSS Loader options","additionalProperties":false,"properties":{"url":{"description":"Allows to enables/disables `url()`/`image-set()` functions handling.","link":"https://github.com/webpack-contrib/css-loader#url","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"import":{"description":"Allows to enables/disables `@import` at-rules handling.","link":"https://github.com/webpack-contrib/css-loader#import","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"modules":{"description":"Allows to enable/disable CSS Modules or ICSS and setup configuration.","link":"https://github.com/webpack-contrib/css-loader#modules","anyOf":[{"type":"boolean"},{"enum":["local","global","pure","icss"]},{"type":"object","additionalProperties":false,"properties":{"auto":{"description":"Allows auto enable CSS modules based on filename.","link":"https://github.com/webpack-contrib/css-loader#auto","anyOf":[{"instanceof":"RegExp"},{"instanceof":"Function"},{"type":"boolean"}]},"mode":{"description":"Setup `mode` option.","link":"https://github.com/webpack-contrib/css-loader#mode","anyOf":[{"enum":["local","global","pure","icss"]},{"instanceof":"Function"}]},"localIdentName":{"description":"Allows to configure the generated local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentname","type":"string","minLength":1},"localIdentContext":{"description":"Allows to redefine basic loader context for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentcontext","type":"string","minLength":1},"localIdentHashSalt":{"description":"Allows to add custom hash to generate more unique classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashsalt","type":"string","minLength":1},"localIdentHashFunction":{"description":"Allows to specify hash function to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashfunction","type":"string","minLength":1},"localIdentHashDigest":{"description":"Allows to specify hash digest to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigest","type":"string","minLength":1},"localIdentHashDigestLength":{"description":"Allows to specify hash digest length to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigestlength","type":"number"},"hashStrategy":{"description":"Allows to specify should localName be used when computing the hash.","link":"https://github.com/webpack-contrib/css-loader#hashstrategy","enum":["resource-path-and-local-name","minimal-subset"]},"localIdentRegExp":{"description":"Allows to specify custom RegExp for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentregexp","anyOf":[{"type":"string","minLength":1},{"instanceof":"RegExp"}]},"getLocalIdent":{"description":"Allows to specify a function to generate the classname.","link":"https://github.com/webpack-contrib/css-loader#getlocalident","instanceof":"Function"},"namedExport":{"description":"Enables/disables ES modules named export for locals.","link":"https://github.com/webpack-contrib/css-loader#namedexport","type":"boolean"},"exportGlobals":{"description":"Allows to export names from global class or id, so you can use that as local name.","link":"https://github.com/webpack-contrib/css-loader#exportglobals","type":"boolean"},"exportLocalsConvention":{"description":"Style of exported classnames.","link":"https://github.com/webpack-contrib/css-loader#localsconvention","anyOf":[{"enum":["asIs","as-is","camelCase","camel-case","camelCaseOnly","camel-case-only","dashes","dashesOnly","dashes-only"]},{"instanceof":"Function"}]},"exportOnlyLocals":{"description":"Export only locals.","link":"https://github.com/webpack-contrib/css-loader#exportonlylocals","type":"boolean"},"getJSON":{"description":"Allows outputting of CSS modules mapping through a callback.","link":"https://github.com/webpack-contrib/css-loader#getJSON","instanceof":"Function"}}}]},"sourceMap":{"description":"Allows to enable/disable source maps.","link":"https://github.com/webpack-contrib/css-loader#sourcemap","type":"boolean"},"importLoaders":{"description":"Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports.","link":"https://github.com/webpack-contrib/css-loader#importloaders","anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}]},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"exportType":{"description":"Allows exporting styles as array with modules, string or constructable stylesheet (i.e. `CSSStyleSheet`).","link":"https://github.com/webpack-contrib/css-loader#exporttype","enum":["array","string","css-style-sheet"]}},"type":"object"}',
|
|
@@ -8003,6 +8003,6 @@
|
|
|
8003
8003
|
}
|
|
8004
8004
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8005
8005
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8006
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8006
|
+
var __webpack_exports__ = __nccwpck_require__(5408);
|
|
8007
8007
|
module.exports = __webpack_exports__;
|
|
8008
8008
|
})();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
374: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const { HtmlWebpackChildCompiler } = __nccwpck_require__(
|
|
5
|
+
const { HtmlWebpackChildCompiler } = __nccwpck_require__(744);
|
|
6
6
|
const compilerMap = new WeakMap();
|
|
7
7
|
class CachedChildCompilation {
|
|
8
8
|
constructor(compiler) {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
}
|
|
305
305
|
module.exports = { CachedChildCompilation };
|
|
306
306
|
},
|
|
307
|
-
|
|
307
|
+
744: (module) => {
|
|
308
308
|
"use strict";
|
|
309
309
|
class HtmlWebpackChildCompiler {
|
|
310
310
|
constructor(templates) {
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
}
|
|
474
474
|
module.exports = { HtmlWebpackChildCompiler };
|
|
475
475
|
},
|
|
476
|
-
|
|
476
|
+
48: (module) => {
|
|
477
477
|
"use strict";
|
|
478
478
|
module.exports = {};
|
|
479
479
|
module.exports.none = (chunks) => chunks;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
};
|
|
493
493
|
module.exports.auto = module.exports.none;
|
|
494
494
|
},
|
|
495
|
-
|
|
495
|
+
796: (module) => {
|
|
496
496
|
"use strict";
|
|
497
497
|
module.exports = function (err) {
|
|
498
498
|
return {
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
515
|
},
|
|
516
|
-
|
|
516
|
+
894: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
517
517
|
"use strict";
|
|
518
518
|
const { AsyncSeriesWaterfallHook } = __nccwpck_require__(348);
|
|
519
519
|
const htmlWebpackPluginHooksMap = new WeakMap();
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
}
|
|
540
540
|
module.exports = { getHtmlRspackPluginHooks };
|
|
541
541
|
},
|
|
542
|
-
|
|
542
|
+
104: (module) => {
|
|
543
543
|
const voidTags = [
|
|
544
544
|
"area",
|
|
545
545
|
"base",
|
|
@@ -607,19 +607,19 @@
|
|
|
607
607
|
htmlTagObjectToString,
|
|
608
608
|
};
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
729: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
611
611
|
"use strict";
|
|
612
612
|
const promisify = __nccwpck_require__(837).promisify;
|
|
613
613
|
const vm = __nccwpck_require__(144);
|
|
614
614
|
const fs = __nccwpck_require__(147);
|
|
615
615
|
const path = __nccwpck_require__(17);
|
|
616
|
-
const { CachedChildCompilation } = __nccwpck_require__(
|
|
616
|
+
const { CachedChildCompilation } = __nccwpck_require__(374);
|
|
617
617
|
const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
|
|
618
|
-
__nccwpck_require__(
|
|
619
|
-
const prettyError = __nccwpck_require__(
|
|
620
|
-
const chunkSorter = __nccwpck_require__(
|
|
618
|
+
__nccwpck_require__(104);
|
|
619
|
+
const prettyError = __nccwpck_require__(796);
|
|
620
|
+
const chunkSorter = __nccwpck_require__(48);
|
|
621
621
|
const getHtmlRspackPluginHooks =
|
|
622
|
-
__nccwpck_require__(
|
|
622
|
+
__nccwpck_require__(894).getHtmlRspackPluginHooks;
|
|
623
623
|
class HtmlRspackPlugin {
|
|
624
624
|
constructor(userOptions = {}) {
|
|
625
625
|
this.version = HtmlRspackPlugin.version;
|
|
@@ -1578,6 +1578,6 @@
|
|
|
1578
1578
|
}
|
|
1579
1579
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1580
1580
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1581
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1581
|
+
var __webpack_exports__ = __nccwpck_require__(729);
|
|
1582
1582
|
module.exports = __webpack_exports__;
|
|
1583
1583
|
})();
|