@unpackjs/core 3.5.4 → 3.6.1
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/css-loader/index.js +20 -20
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +10 -10
- package/compiled/sass-loader/index.js +8 -8
- package/dist/index.js +130 -29
- package/dist/transformDeepImportLoader.mjs +86 -0
- package/dist/typedCssModulesLoader.mjs +1 -3
- package/dist-types/bundler-config/loaders/transformDeepImportLoader.d.ts +5 -0
- package/dist-types/bundler-config/loaders/transformDeepImportLoader.d.ts.map +1 -0
- package/dist-types/prebundleDeps.d.ts.map +1 -1
- package/dist-types/types/config.d.ts +4 -0
- package/dist-types/types/config.d.ts.map +1 -1
- package/dist-types/utils.d.ts +12 -0
- package/dist-types/utils.d.ts.map +1 -1
- package/package.json +8 -13
- package/dist/index.cjs +0 -2054
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
853: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(8271);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(1370).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
8271: (__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__(1940));
|
|
15
15
|
var _package = _interopRequireDefault(__nccwpck_require__(444));
|
|
16
16
|
var _semver = __nccwpck_require__(5200);
|
|
17
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
18
|
-
var _plugins = __nccwpck_require__(
|
|
19
|
-
var _utils = __nccwpck_require__(
|
|
17
|
+
var _options = _interopRequireDefault(__nccwpck_require__(6933));
|
|
18
|
+
var _plugins = __nccwpck_require__(2372);
|
|
19
|
+
var _utils = __nccwpck_require__(1370);
|
|
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
|
+
2372: (__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__(4623),
|
|
269
269
|
);
|
|
270
270
|
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
__nccwpck_require__(
|
|
271
|
+
__nccwpck_require__(6434),
|
|
272
272
|
);
|
|
273
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
273
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(4885));
|
|
274
274
|
function _interopRequireDefault(obj) {
|
|
275
275
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
-
|
|
278
|
+
6434: (__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__(229);
|
|
283
|
-
var _utils = __nccwpck_require__(
|
|
283
|
+
var _utils = __nccwpck_require__(1370);
|
|
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
|
+
4623: (__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__(5245),
|
|
388
388
|
);
|
|
389
|
-
var _utils = __nccwpck_require__(
|
|
389
|
+
var _utils = __nccwpck_require__(1370);
|
|
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
|
+
4885: (__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__(5245),
|
|
700
700
|
);
|
|
701
|
-
var _utils = __nccwpck_require__(
|
|
701
|
+
var _utils = __nccwpck_require__(1370);
|
|
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
|
+
1370: (__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;
|
|
@@ -8086,7 +8086,7 @@
|
|
|
8086
8086
|
"use strict";
|
|
8087
8087
|
module.exports = require("util");
|
|
8088
8088
|
},
|
|
8089
|
-
|
|
8089
|
+
6933: (module) => {
|
|
8090
8090
|
"use strict";
|
|
8091
8091
|
module.exports = JSON.parse(
|
|
8092
8092
|
'{"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"}',
|
|
@@ -8121,6 +8121,6 @@
|
|
|
8121
8121
|
}
|
|
8122
8122
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8123
8123
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8124
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8124
|
+
var __webpack_exports__ = __nccwpck_require__(853);
|
|
8125
8125
|
module.exports = __webpack_exports__;
|
|
8126
8126
|
})();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
577: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(99)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
99: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8
8
|
var __webpack_unused_export__;
|
|
9
9
|
__webpack_unused_export__ = { value: true };
|
|
10
10
|
exports["default"] = void 0;
|
|
11
11
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
12
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
13
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _options = _interopRequireDefault(__nccwpck_require__(969));
|
|
13
|
+
var _utils = __nccwpck_require__(422);
|
|
14
14
|
function _interopRequireDefault(e) {
|
|
15
15
|
return e && e.__esModule ? e : { default: e };
|
|
16
16
|
}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
var _default = (exports["default"] = lessLoader);
|
|
114
114
|
},
|
|
115
|
-
|
|
115
|
+
422: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
116
116
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
117
117
|
exports.errorFactory = errorFactory;
|
|
118
118
|
exports.getLessImplementation = getLessImplementation;
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
928: (module) => {
|
|
313
313
|
module.exports = require("path");
|
|
314
314
|
},
|
|
315
|
-
|
|
315
|
+
969: (module) => {
|
|
316
316
|
module.exports = JSON.parse(
|
|
317
317
|
'{"title":"Less Loader options","type":"object","properties":{"lessOptions":{"description":"Options to pass through to `Less`.","link":"https://github.com/webpack-contrib/less-loader#lessoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Less` code to the actual entry file.","link":"https://github.com/webpack-contrib/less-loader#additionalData","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/less-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/less-loader#webpackimporter","anyOf":[{"type":"boolean"},{"type":"string","enum":["only"]}]},"implementation":{"description":"The implementation of the `Less` to be used.","link":"https://github.com/webpack-contrib/less-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"lessLogAsWarnOrErr":{"description":"Less warnings and errors will be webpack warnings or errors.","link":"https://github.com/webpack-contrib/less-loader#lesslogaswarnorerr","type":"boolean"}},"additionalProperties":false}',
|
|
318
318
|
);
|
|
@@ -340,6 +340,6 @@
|
|
|
340
340
|
}
|
|
341
341
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
342
342
|
__nccwpck_require__.ab = __dirname + "/";
|
|
343
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
343
|
+
var __webpack_exports__ = __nccwpck_require__(577);
|
|
344
344
|
module.exports = __webpack_exports__;
|
|
345
345
|
})();
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
module.exports = callsites;
|
|
13
13
|
module.exports["default"] = callsites;
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
9007: function (__unused_webpack_module, exports, __nccwpck_require__) {
|
|
16
16
|
"use strict";
|
|
17
17
|
var __importDefault =
|
|
18
18
|
(this && this.__importDefault) ||
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
return defaults_1.globalConfigSearchPlacesSync;
|
|
724
724
|
},
|
|
725
725
|
});
|
|
726
|
-
const Explorer_js_1 = __nccwpck_require__(
|
|
726
|
+
const Explorer_js_1 = __nccwpck_require__(9007);
|
|
727
727
|
const ExplorerSync_js_1 = __nccwpck_require__(575);
|
|
728
728
|
const util_1 = __nccwpck_require__(4515);
|
|
729
729
|
const identity = function identity(x) {
|
|
@@ -5319,19 +5319,19 @@
|
|
|
5319
5319
|
module.exports = createColors();
|
|
5320
5320
|
module.exports.createColors = createColors;
|
|
5321
5321
|
},
|
|
5322
|
-
|
|
5322
|
+
1388: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5323
5323
|
"use strict";
|
|
5324
|
-
module.exports = __nccwpck_require__(
|
|
5324
|
+
module.exports = __nccwpck_require__(9586)["default"];
|
|
5325
5325
|
},
|
|
5326
|
-
|
|
5326
|
+
9586: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5327
5327
|
"use strict";
|
|
5328
5328
|
var __webpack_unused_export__;
|
|
5329
5329
|
__webpack_unused_export__ = { value: true };
|
|
5330
5330
|
exports["default"] = loader;
|
|
5331
5331
|
var _nodePath = _interopRequireDefault(__nccwpck_require__(6760));
|
|
5332
5332
|
var _package = _interopRequireDefault(__nccwpck_require__(444));
|
|
5333
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
5334
|
-
var _utils = __nccwpck_require__(
|
|
5333
|
+
var _options = _interopRequireDefault(__nccwpck_require__(9266));
|
|
5334
|
+
var _utils = __nccwpck_require__(6867);
|
|
5335
5335
|
function _interopRequireDefault(e) {
|
|
5336
5336
|
return e && e.__esModule ? e : { default: e };
|
|
5337
5337
|
}
|
|
@@ -5509,7 +5509,7 @@
|
|
|
5509
5509
|
callback(null, result.css, map, { ast });
|
|
5510
5510
|
}
|
|
5511
5511
|
},
|
|
5512
|
-
|
|
5512
|
+
6867: (module, exports, __nccwpck_require__) => {
|
|
5513
5513
|
"use strict";
|
|
5514
5514
|
module = __nccwpck_require__.nmd(module);
|
|
5515
5515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -6620,7 +6620,7 @@
|
|
|
6620
6620
|
return keywords.has(word);
|
|
6621
6621
|
}
|
|
6622
6622
|
},
|
|
6623
|
-
|
|
6623
|
+
9266: (module) => {
|
|
6624
6624
|
"use strict";
|
|
6625
6625
|
module.exports = JSON.parse(
|
|
6626
6626
|
'{"title":"PostCSS Loader options","type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","link":"https://github.com/webpack-contrib/postcss-loader#postcssOptions","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS config path.","link":"https://github.com/webpack-contrib/postcss-loader#config","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\'.","link":"https://github.com/webpack-contrib/postcss-loader#execute","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/postcss-loader#sourcemap","type":"boolean"},"implementation":{"description":"The implementation of postcss to use, instead of the locally installed version","link":"https://github.com/webpack-contrib/postcss-loader#implementation","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
|
|
@@ -6730,6 +6730,6 @@
|
|
|
6730
6730
|
})();
|
|
6731
6731
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
6732
6732
|
__nccwpck_require__.ab = __dirname + "/";
|
|
6733
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
6733
|
+
var __webpack_exports__ = __nccwpck_require__(1388);
|
|
6734
6734
|
module.exports = __webpack_exports__;
|
|
6735
6735
|
})();
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
449: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(11);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
11: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4804
4804
|
"use strict";
|
|
4805
4805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4806
4806
|
exports["default"] = void 0;
|
|
4807
4807
|
var _nodePath = _interopRequireDefault(__nccwpck_require__(760));
|
|
4808
4808
|
var _nodeUrl = _interopRequireDefault(__nccwpck_require__(136));
|
|
4809
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
4810
|
-
var _utils = __nccwpck_require__(
|
|
4809
|
+
var _options = _interopRequireDefault(__nccwpck_require__(237));
|
|
4810
|
+
var _utils = __nccwpck_require__(334);
|
|
4811
4811
|
function _interopRequireDefault(e) {
|
|
4812
4812
|
return e && e.__esModule ? e : { default: e };
|
|
4813
4813
|
}
|
|
@@ -4914,7 +4914,7 @@
|
|
|
4914
4914
|
}
|
|
4915
4915
|
var _default = (exports["default"] = loader);
|
|
4916
4916
|
},
|
|
4917
|
-
|
|
4917
|
+
334: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4918
4918
|
"use strict";
|
|
4919
4919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4920
4920
|
exports.errorFactory = errorFactory;
|
|
@@ -5568,7 +5568,7 @@
|
|
|
5568
5568
|
"use strict";
|
|
5569
5569
|
module.exports = require("sass");
|
|
5570
5570
|
},
|
|
5571
|
-
|
|
5571
|
+
237: (module) => {
|
|
5572
5572
|
"use strict";
|
|
5573
5573
|
module.exports = JSON.parse(
|
|
5574
5574
|
'{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}',
|
|
@@ -5598,6 +5598,6 @@
|
|
|
5598
5598
|
}
|
|
5599
5599
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5600
5600
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5601
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
5601
|
+
var __webpack_exports__ = __nccwpck_require__(449);
|
|
5602
5602
|
module.exports = __webpack_exports__;
|
|
5603
5603
|
})();
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import { promisify } from "node:util";
|
|
|
16
16
|
import node_zlib from "node:zlib";
|
|
17
17
|
import { RspackDevServer } from "@rspack/dev-server";
|
|
18
18
|
import { exec, spawn } from "node:child_process";
|
|
19
|
+
import node_http from "node:http";
|
|
19
20
|
import chokidar from "chokidar";
|
|
20
21
|
var LogColor, __webpack_modules__ = {
|
|
21
22
|
"compiled/launch-editor": function(module) {
|
|
@@ -137,7 +138,7 @@ let CSS_MODULES_LOCAL_IDENT_NAME = '[path][name]__[local]--[hash:5]', CSS_MODULE
|
|
|
137
138
|
|
|
138
139
|
</html>`;
|
|
139
140
|
var utils_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
|
|
140
|
-
let { merge } = __webpack_require__("compiled/webpack-merge"), launchEditor = __webpack_require__("compiled/launch-editor"), getNodeEnv = ()=>process.env.NODE_ENV, setNodeEnv = (env)=>{
|
|
141
|
+
let { merge } = __webpack_require__("compiled/webpack-merge"), { default: launchEditor } = __webpack_require__("compiled/launch-editor"), getNodeEnv = ()=>process.env.NODE_ENV, setNodeEnv = (env)=>{
|
|
141
142
|
process.env.NODE_ENV = env;
|
|
142
143
|
}, setDevServer = (isDevServer)=>{
|
|
143
144
|
process.env.DEV_SERVER = isDevServer ? 'true' : 'false';
|
|
@@ -275,6 +276,44 @@ let isCSSModules = ({ resourcePath, modules })=>{
|
|
|
275
276
|
}[esVersion];
|
|
276
277
|
if (!browsers) throw Error(`Unsupported ES version: ${esVersion}`);
|
|
277
278
|
return browsers;
|
|
279
|
+
};
|
|
280
|
+
function pLimit(concurrency = Math.max(1, node_os.cpus().length - 1)) {
|
|
281
|
+
if (!(Number.isInteger(concurrency) && concurrency > 0)) throw TypeError('Expected `concurrency` to be a number greater than 0');
|
|
282
|
+
let queue = [], activeCount = 0, run = async (fn, resolve, reject, args)=>{
|
|
283
|
+
activeCount++;
|
|
284
|
+
let result = (async ()=>fn(...args))();
|
|
285
|
+
try {
|
|
286
|
+
let value = await result;
|
|
287
|
+
resolve(value);
|
|
288
|
+
} catch (err) {
|
|
289
|
+
reject(err);
|
|
290
|
+
} finally{
|
|
291
|
+
if (activeCount--, queue.length > 0) {
|
|
292
|
+
let task = queue.shift();
|
|
293
|
+
task?.();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}, generator = (fn, ...args)=>new Promise((resolve, reject)=>{
|
|
297
|
+
let task = ()=>run(fn, resolve, reject, args);
|
|
298
|
+
activeCount < concurrency ? task() : queue.push(task);
|
|
299
|
+
});
|
|
300
|
+
return Object.defineProperties(generator, {
|
|
301
|
+
activeCount: {
|
|
302
|
+
get: ()=>activeCount
|
|
303
|
+
},
|
|
304
|
+
pendingCount: {
|
|
305
|
+
get: ()=>queue.length
|
|
306
|
+
},
|
|
307
|
+
clearQueue: {
|
|
308
|
+
value: ()=>{
|
|
309
|
+
queue.length = 0;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}), generator;
|
|
313
|
+
}
|
|
314
|
+
let pathToExportIdentifier = (path)=>{
|
|
315
|
+
let name = path.replace(/[^a-zA-Z0-9_$]+([a-zA-Z0-9_$])/g, (_, char)=>char.toUpperCase()).replace(/[^a-zA-Z0-9_$]/g, '');
|
|
316
|
+
return (!(name = name.charAt(0).toUpperCase() + name.slice(1)) || /^[^a-zA-Z_$]/.test(name)) && (name = `_${name}`), name;
|
|
278
317
|
}, logger_prefixes = {
|
|
279
318
|
wait: '○',
|
|
280
319
|
error: '⨯',
|
|
@@ -641,7 +680,7 @@ class JsMinifyPlugin {
|
|
|
641
680
|
apply(compiler) {
|
|
642
681
|
let meta = JSON.stringify({
|
|
643
682
|
name: jsMinify_PLUGIN_NAME,
|
|
644
|
-
version: "3.
|
|
683
|
+
version: "3.6.1",
|
|
645
684
|
options: this.minifyOptions
|
|
646
685
|
});
|
|
647
686
|
compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
|
|
@@ -1523,13 +1562,19 @@ function execAsync(command, options) {
|
|
|
1523
1562
|
});
|
|
1524
1563
|
});
|
|
1525
1564
|
}
|
|
1526
|
-
|
|
1565
|
+
var prebundleDeps_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
|
|
1566
|
+
let SPECIAL_NO_ENTRY_DEPS = [
|
|
1567
|
+
'@iconify-icons/material-symbols'
|
|
1568
|
+
], getExternalLibraryName = (pkgName)=>{
|
|
1569
|
+
let externalAlias = {
|
|
1527
1570
|
react: 'React',
|
|
1528
1571
|
'react-dom': 'ReactDOM',
|
|
1529
1572
|
'react-router-dom': 'ReactRouterDOM'
|
|
1530
|
-
}
|
|
1573
|
+
};
|
|
1574
|
+
return externalAlias[pkgName] ? externalAlias[pkgName] : pkgName.replace(/^@/, '').split(/[/\-.]/).filter(Boolean).map((part)=>part.charAt(0).toUpperCase() + part.slice(1)).join('');
|
|
1575
|
+
}, getExternalValue = (pkgName)=>`window ${getExternalLibraryName(pkgName)}`, prebundleDeps = async ({ unpackConfig })=>{
|
|
1531
1576
|
var externals;
|
|
1532
|
-
let existExternals, cacheDir, count = {
|
|
1577
|
+
let existExternals, cacheDir, shouldTransformDeepImport = !1, count = {
|
|
1533
1578
|
total: 0,
|
|
1534
1579
|
bundled: 0
|
|
1535
1580
|
}, failedDeps = [], root = unpackConfig.root, CACHE_PATH = unpackConfig._context.cachePath, failedDepsCachePath = node_path.resolve(root, CACHE_PATH, 'failed-deps.json'), failedCache = node_fs.existsSync(failedDepsCachePath) ? JSON.parse(node_fs.readFileSync(failedDepsCachePath, 'utf-8')) : {}, updateProgress = ()=>{
|
|
@@ -1562,6 +1607,31 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1562
1607
|
if (packageJson.main) return packageJson.main;
|
|
1563
1608
|
})(packageJson);
|
|
1564
1609
|
if (!entry) {
|
|
1610
|
+
if (SPECIAL_NO_ENTRY_DEPS.includes(pkgName)) {
|
|
1611
|
+
let syntheticEntry = (({ root, pkgName })=>{
|
|
1612
|
+
let pkgDir = node_path.resolve(root, 'node_modules', pkgName);
|
|
1613
|
+
if (!node_fs.existsSync(pkgDir)) return;
|
|
1614
|
+
let indexPath = node_path.resolve(pkgDir, 'index.ts'), content = globSync('**/*.{js,jsx,ts,tsx}', {
|
|
1615
|
+
cwd: pkgDir,
|
|
1616
|
+
absolute: !1
|
|
1617
|
+
}).filter((p)=>{
|
|
1618
|
+
let base = node_path.basename(p);
|
|
1619
|
+
return !(p.endsWith('.d.ts') || /^index\.(t|j)sx?$/.test(base)) && 'package.json' !== base;
|
|
1620
|
+
}).map((file)=>{
|
|
1621
|
+
let normalized = file.split(node_path.sep).join('/'), exportName = pathToExportIdentifier(normalized);
|
|
1622
|
+
return `export { default as ${exportName} } from './${normalized}'`;
|
|
1623
|
+
}).join('\n');
|
|
1624
|
+
return node_fs.writeFileSync(indexPath, content, 'utf-8'), indexPath;
|
|
1625
|
+
})({
|
|
1626
|
+
root,
|
|
1627
|
+
pkgName
|
|
1628
|
+
});
|
|
1629
|
+
if (syntheticEntry) return shouldTransformDeepImport = !0, {
|
|
1630
|
+
name: pkgName,
|
|
1631
|
+
entry: syntheticEntry,
|
|
1632
|
+
version
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1565
1635
|
noEntryDeps.push(pkgName), failedCache[pkgName] = version;
|
|
1566
1636
|
return;
|
|
1567
1637
|
}
|
|
@@ -1570,7 +1640,15 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1570
1640
|
entry: node_path.resolve(root, 'node_modules', pkgName, entry),
|
|
1571
1641
|
version
|
|
1572
1642
|
};
|
|
1573
|
-
}).filter(Boolean),
|
|
1643
|
+
}).filter(Boolean), depExternals = Object.fromEntries(Array.from(new Set([
|
|
1644
|
+
'react',
|
|
1645
|
+
'react-dom',
|
|
1646
|
+
'react-router-dom',
|
|
1647
|
+
...Array.isArray(userOptions.externals) ? userOptions.externals : []
|
|
1648
|
+
])).map((pkg)=>[
|
|
1649
|
+
pkg,
|
|
1650
|
+
getExternalValue(pkg)
|
|
1651
|
+
])), bundledDeps = await Promise.all(needBundleDeps.map((depInfo)=>(({ name, entry, version })=>new Promise((resolve)=>{
|
|
1574
1652
|
let pkgDir = node_path.resolve(root, CACHE_PATH, 'umd', name), outDir = node_path.resolve(pkgDir, version), getResult = ()=>({
|
|
1575
1653
|
name,
|
|
1576
1654
|
assets: globSync('**/index.{js,css}', {
|
|
@@ -1675,11 +1753,7 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1675
1753
|
experiments: {
|
|
1676
1754
|
css: !0
|
|
1677
1755
|
},
|
|
1678
|
-
externals:
|
|
1679
|
-
react: getExternalValue('react'),
|
|
1680
|
-
'react-dom': getExternalValue('react-dom'),
|
|
1681
|
-
'react-router-dom': getExternalValue('react-router-dom')
|
|
1682
|
-
}
|
|
1756
|
+
externals: depExternals
|
|
1683
1757
|
});
|
|
1684
1758
|
compiler.run((_, stats)=>{
|
|
1685
1759
|
let isFailed = !1;
|
|
@@ -1691,15 +1765,30 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1691
1765
|
cacheDir = node_path.dirname(failedDepsCachePath), node_fs.existsSync(cacheDir) || node_fs.mkdirSync(cacheDir, {
|
|
1692
1766
|
recursive: !0
|
|
1693
1767
|
}), node_fs.writeFileSync(failedDepsCachePath, JSON.stringify(failedCache, null, 2), 'utf-8'), failedDeps[0] && logger_logger.warn(`something went wrong while optimizing "${colors.bold(failedDeps.join(', '))}"`);
|
|
1694
|
-
let cachePath = node_path.resolve(root, CACHE_PATH, 'umd'),
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1768
|
+
let cachePath = node_path.resolve(root, CACHE_PATH, 'umd'), staticServer = node_http.createServer((req, res)=>{
|
|
1769
|
+
if (res.setHeader('Access-Control-Allow-Origin', '*'), 'OPTIONS' === req.method) {
|
|
1770
|
+
res.writeHead(204), res.end();
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
let url = req.url || '';
|
|
1774
|
+
if (url.startsWith("/umd/")) {
|
|
1775
|
+
let relativePath = url.replace("/umd/", '');
|
|
1776
|
+
if (relativePath.includes('..')) {
|
|
1777
|
+
res.writeHead(403), res.end();
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
let filePath = node_path.join(cachePath, relativePath);
|
|
1781
|
+
if (node_fs.existsSync(filePath) && node_fs.statSync(filePath).isFile()) {
|
|
1782
|
+
let ext = node_path.extname(filePath);
|
|
1783
|
+
'.js' === ext && res.setHeader('Content-Type', "application/javascript"), '.css' === ext && res.setHeader('Content-Type', 'text/css'), node_fs.createReadStream(filePath).pipe(res);
|
|
1784
|
+
return;
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
res.writeHead(404), res.end();
|
|
1788
|
+
}), port = await getPort();
|
|
1789
|
+
staticServer.listen(port), addRestartCleaner(()=>new Promise((resolve)=>staticServer.close(()=>resolve(void 0))));
|
|
1701
1790
|
let externals1 = {}, jsAssets = [], cssAssets = [], preJsAssets = [];
|
|
1702
|
-
|
|
1791
|
+
bundledDeps.filter(Boolean).forEach((dep)=>{
|
|
1703
1792
|
dep && (externals1[dep.name] = getExternalValue(dep.name), dep.assets.forEach((absPath)=>{
|
|
1704
1793
|
let relativePath = node_path.relative(cachePath, absPath), preDeps = [
|
|
1705
1794
|
'react',
|
|
@@ -1717,13 +1806,14 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1717
1806
|
ignoreCSSDeps.includes(dep.name) || cssAssets.push(serverPath);
|
|
1718
1807
|
}
|
|
1719
1808
|
}));
|
|
1720
|
-
})
|
|
1809
|
+
});
|
|
1810
|
+
let existingExternals = unpackConfig.externals ? Array.isArray(unpackConfig.externals) ? unpackConfig.externals : [
|
|
1811
|
+
unpackConfig.externals
|
|
1812
|
+
] : [];
|
|
1813
|
+
return unpackConfig.externals = [
|
|
1721
1814
|
externals1,
|
|
1722
|
-
...
|
|
1723
|
-
]
|
|
1724
|
-
...externals1,
|
|
1725
|
-
...unpackConfig.externals
|
|
1726
|
-
}, unpackConfig.plugins.push({
|
|
1815
|
+
...existingExternals
|
|
1816
|
+
], unpackConfig.plugins.push({
|
|
1727
1817
|
name: 'unpack:prebundle',
|
|
1728
1818
|
config: (config)=>{
|
|
1729
1819
|
let originalHeadTag = config.html?.headTag || '', sortedPreTags = preJsAssets.sort((a, b)=>a.order - b.order).map((item)=>item.path).map((item)=>`<script defer src="${item}"></script>`);
|
|
@@ -1740,6 +1830,17 @@ let getExternalLibraryName = (pkgName)=>({
|
|
|
1740
1830
|
rspack.HtmlRspackPlugin.getCompilationHooks(compilation).beforeAssetTagGeneration.tapPromise(PLUGIN_NAME, async (args)=>(args.assets.js.unshift(...jsAssets), args.assets.css.unshift(...cssAssets), args));
|
|
1741
1831
|
});
|
|
1742
1832
|
}
|
|
1833
|
+
}), shouldTransformDeepImport && config.module.rules.push({
|
|
1834
|
+
test: /\.[jt]sx?$/,
|
|
1835
|
+
exclude: /node_modules/,
|
|
1836
|
+
use: [
|
|
1837
|
+
{
|
|
1838
|
+
loader: node_path.resolve(prebundleDeps_dirname, './transformDeepImportLoader.mjs'),
|
|
1839
|
+
options: {
|
|
1840
|
+
packages: SPECIAL_NO_ENTRY_DEPS
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
]
|
|
1743
1844
|
}), config;
|
|
1744
1845
|
}
|
|
1745
1846
|
}), unpackConfig;
|
|
@@ -1779,7 +1880,7 @@ async function unpackDev(originalUnpackConfig) {
|
|
|
1779
1880
|
req.headers.accept?.includes('html') && (req.url = '/index.html'), next();
|
|
1780
1881
|
}), middlewares.unshift(experiments.lazyCompilationMiddleware(compiler)), middlewares);
|
|
1781
1882
|
let server = new RspackDevServer(devServerOptions, compiler);
|
|
1782
|
-
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.
|
|
1883
|
+
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.6.1`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ${colors.dim('ms')}\n`), printAddressUrls(port, unpackConfig.server?.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
|
|
1783
1884
|
let open = unpackConfig.server?.open, url = isString(open) ? open : `http://localhost:${port}`;
|
|
1784
1885
|
open && openBrowser(url), setupCliShortcuts({
|
|
1785
1886
|
openPage: async ()=>{
|
|
@@ -1852,7 +1953,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
1852
1953
|
...mergeConfig(defaultConfig, config),
|
|
1853
1954
|
_context: {
|
|
1854
1955
|
callerName,
|
|
1855
|
-
version: "3.
|
|
1956
|
+
version: "3.6.1",
|
|
1856
1957
|
cachePath: 'node_modules/.unpack'
|
|
1857
1958
|
}
|
|
1858
1959
|
};
|
|
@@ -1861,7 +1962,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
1861
1962
|
build: async ({ watch } = {})=>{
|
|
1862
1963
|
setNodeEnv(watch ? 'development' : 'production');
|
|
1863
1964
|
let config = resolveConfig();
|
|
1864
|
-
console.log(colors.brand(`${callerName} v3.
|
|
1965
|
+
console.log(colors.brand(`${callerName} v3.6.1`), colors.cyan(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
|
|
1865
1966
|
},
|
|
1866
1967
|
dev: async ()=>{
|
|
1867
1968
|
global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0);
|
|
@@ -1886,4 +1987,4 @@ async function createChokidar(pathOrGlobs, root = process.cwd(), options) {
|
|
|
1886
1987
|
var __webpack_exports__CSS_NAMED_EXPORT = !1;
|
|
1887
1988
|
import { fileURLToPath as __webpack_fileURLToPath__, pathToFileURL } from "node:url";
|
|
1888
1989
|
import node_path, { dirname as __webpack_dirname__, join, sep } from "node:path";
|
|
1889
|
-
export { CSS_MODULES_LOCAL_IDENT_NAME, CSS_MODULES_REGEX, DEFAULT_DEV_HOST, DEV_DEFAULT_FILENAME, EXPORT_LOCALS_CONVENTION, logger_LogColor as LogColor, NODE_MODULES_REGEX, PROD_DEFAULT_FILENAME, TEMPLATE_CONTENT, THREAD_OPTIONS, addRestartCleaner, cleanUpBeforeRestart, clearLine, colors, convertBasicAnsiColors, createChokidar, createUnpack, currentDevUnpackConfig, debounce, defineConfig, esVersionToBrowserslist, findExists, getAddressUrls, getCompiledPkgPath, getIpv4Interfaces, getNodeEnv, getPathInJs, getPort, getTime, getUserDepPath, getUserDepVersion, getValueByPath, isBoolean, utils_isCI as isCI, isCSSModules, isDebug, isDev, utils_isDevServer as isDevServer, isEmptyDir, isFileExists, isFileSync, isFunction, isNodeVersionAtLeast, isObject, isPlainObject, isProd, isRegExp, isString, isUndefined, isWatch, isWin, launchEditor, loadConfig, logUpdate, logger_logger as logger, mergeConfig, pathExists, prettyTime, removeDir, resolveConfigPath, rspack, setCurrentDevUnpackConfig, setDevServer, setNodeEnv, setValueByPath, setupCliShortcuts, trackPerformance, __webpack_exports__CSS_NAMED_EXPORT as CSS_NAMED_EXPORT };
|
|
1990
|
+
export { CSS_MODULES_LOCAL_IDENT_NAME, CSS_MODULES_REGEX, DEFAULT_DEV_HOST, DEV_DEFAULT_FILENAME, EXPORT_LOCALS_CONVENTION, logger_LogColor as LogColor, NODE_MODULES_REGEX, PROD_DEFAULT_FILENAME, TEMPLATE_CONTENT, THREAD_OPTIONS, addRestartCleaner, cleanUpBeforeRestart, clearLine, colors, convertBasicAnsiColors, createChokidar, createUnpack, currentDevUnpackConfig, debounce, defineConfig, esVersionToBrowserslist, findExists, getAddressUrls, getCompiledPkgPath, getIpv4Interfaces, getNodeEnv, getPathInJs, getPort, getTime, getUserDepPath, getUserDepVersion, getValueByPath, isBoolean, utils_isCI as isCI, isCSSModules, isDebug, isDev, utils_isDevServer as isDevServer, isEmptyDir, isFileExists, isFileSync, isFunction, isNodeVersionAtLeast, isObject, isPlainObject, isProd, isRegExp, isString, isUndefined, isWatch, isWin, launchEditor, loadConfig, logUpdate, logger_logger as logger, mergeConfig, pLimit, pathExists, pathToExportIdentifier, prettyTime, removeDir, resolveConfigPath, rspack, setCurrentDevUnpackConfig, setDevServer, setNodeEnv, setValueByPath, setupCliShortcuts, trackPerformance, __webpack_exports__CSS_NAMED_EXPORT as CSS_NAMED_EXPORT };
|