@unpackjs/core 1.7.3 → 1.7.5
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/commander/index.d.ts +88 -12
- package/compiled/commander/index.js +367 -129
- package/compiled/commander/package.json +1 -1
- package/compiled/css-loader/index.js +22 -24
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +10 -10
- package/compiled/sass-loader/index.js +9 -8
- package/compiled/sass-loader/package.json +1 -1
- package/compiled/style-loader/index.js +10 -10
- package/dist/bundler-config/chunkSplit.cjs +0 -4
- package/dist/bundler-config/chunkSplit.d.ts.map +1 -1
- package/dist/bundler-config/chunkSplit.js +0 -4
- package/dist/bundler-config/css.cjs +1 -2
- package/dist/bundler-config/css.d.ts.map +1 -1
- package/dist/bundler-config/css.js +1 -2
- package/dist/bundler-config/experimentCss.cjs +4 -1
- package/dist/bundler-config/experimentCss.d.ts.map +1 -1
- package/dist/bundler-config/experimentCss.js +4 -1
- package/dist/bundler-config/index.cjs +2 -1
- package/dist/bundler-config/index.d.ts.map +1 -1
- package/dist/bundler-config/index.js +2 -1
- package/dist/bundler-config/jsMinify.cjs +1 -1
- package/dist/bundler-config/jsMinify.js +1 -1
- package/dist/createUnpack.cjs +2 -2
- package/dist/createUnpack.js +2 -2
- package/dist/plugin-progress/webpack.d.ts.map +1 -1
- package/dist/prebundleDeps.cjs +2 -1
- package/dist/prebundleDeps.d.ts.map +1 -1
- package/dist/prebundleDeps.js +2 -1
- package/dist/run/dev.cjs +1 -1
- package/dist/run/dev.js +1 -1
- package/dist/types/config.d.ts +1 -6
- package/dist/types/config.d.ts.map +1 -1
- package/package.json +10 -11
- package/dist/thread-loader/WorkerError.cjs +0 -41
- package/dist/thread-loader/WorkerError.js +0 -31
- package/dist/thread-loader/WorkerPool.cjs +0 -407
- package/dist/thread-loader/WorkerPool.js +0 -387
- package/dist/thread-loader/index.cjs +0 -100
- package/dist/thread-loader/index.js +0 -85
- package/dist/thread-loader/readBuffer.cjs +0 -55
- package/dist/thread-loader/readBuffer.js +0 -45
- package/dist/thread-loader/serializer.cjs +0 -46
- package/dist/thread-loader/serializer.js +0 -31
- package/dist/thread-loader/utils.cjs +0 -84
- package/dist/thread-loader/utils.js +0 -60
- package/dist/thread-loader/worker.cjs +0 -377
- package/dist/thread-loader/worker.js +0 -382
- package/dist/thread-loader/workerPools.cjs +0 -57
- package/dist/thread-loader/workerPools.js +0 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"commander","author":"TJ Holowaychuk <tj@vision-media.ca>","version":"
|
|
1
|
+
{"name":"commander","author":"TJ Holowaychuk <tj@vision-media.ca>","version":"13.0.0","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
8810: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(901);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(7266).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
901: (__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__(977));
|
|
15
15
|
var _package = _interopRequireDefault(__nccwpck_require__(7337));
|
|
16
16
|
var _semver = __nccwpck_require__(5204);
|
|
17
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
18
|
-
var _plugins = __nccwpck_require__(
|
|
19
|
-
var _utils = __nccwpck_require__(
|
|
17
|
+
var _options = _interopRequireDefault(__nccwpck_require__(9411));
|
|
18
|
+
var _plugins = __nccwpck_require__(6730);
|
|
19
|
+
var _utils = __nccwpck_require__(7266);
|
|
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
|
+
6730: (__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,20 @@
|
|
|
265
265
|
},
|
|
266
266
|
});
|
|
267
267
|
var _postcssImportParser = _interopRequireDefault(
|
|
268
|
-
__nccwpck_require__(
|
|
268
|
+
__nccwpck_require__(1751),
|
|
269
269
|
);
|
|
270
|
-
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
|
|
272
|
-
);
|
|
273
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(8216));
|
|
270
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(58));
|
|
271
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(7093));
|
|
274
272
|
function _interopRequireDefault(obj) {
|
|
275
273
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
276
274
|
}
|
|
277
275
|
},
|
|
278
|
-
|
|
276
|
+
58: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
279
277
|
"use strict";
|
|
280
278
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
281
279
|
exports["default"] = void 0;
|
|
282
280
|
var _icssUtils = __nccwpck_require__(4508);
|
|
283
|
-
var _utils = __nccwpck_require__(
|
|
281
|
+
var _utils = __nccwpck_require__(7266);
|
|
284
282
|
const plugin = (options = {}) => ({
|
|
285
283
|
postcssPlugin: "postcss-icss-parser",
|
|
286
284
|
async OnceExit(root) {
|
|
@@ -379,14 +377,14 @@
|
|
|
379
377
|
plugin.postcss = true;
|
|
380
378
|
var _default = (exports["default"] = plugin);
|
|
381
379
|
},
|
|
382
|
-
|
|
380
|
+
1751: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
383
381
|
"use strict";
|
|
384
382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
385
383
|
exports["default"] = void 0;
|
|
386
384
|
var _postcssValueParser = _interopRequireDefault(
|
|
387
385
|
__nccwpck_require__(7555),
|
|
388
386
|
);
|
|
389
|
-
var _utils = __nccwpck_require__(
|
|
387
|
+
var _utils = __nccwpck_require__(7266);
|
|
390
388
|
function _interopRequireDefault(obj) {
|
|
391
389
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
392
390
|
}
|
|
@@ -691,14 +689,14 @@
|
|
|
691
689
|
plugin.postcss = true;
|
|
692
690
|
var _default = (exports["default"] = plugin);
|
|
693
691
|
},
|
|
694
|
-
|
|
692
|
+
7093: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
695
693
|
"use strict";
|
|
696
694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
697
695
|
exports["default"] = void 0;
|
|
698
696
|
var _postcssValueParser = _interopRequireDefault(
|
|
699
697
|
__nccwpck_require__(7555),
|
|
700
698
|
);
|
|
701
|
-
var _utils = __nccwpck_require__(
|
|
699
|
+
var _utils = __nccwpck_require__(7266);
|
|
702
700
|
function _interopRequireDefault(obj) {
|
|
703
701
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
704
702
|
}
|
|
@@ -1041,7 +1039,7 @@
|
|
|
1041
1039
|
plugin.postcss = true;
|
|
1042
1040
|
var _default = (exports["default"] = plugin);
|
|
1043
1041
|
},
|
|
1044
|
-
|
|
1042
|
+
7266: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1045
1043
|
"use strict";
|
|
1046
1044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1047
1045
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -3637,7 +3635,7 @@
|
|
|
3637
3635
|
exports["default"] = _default;
|
|
3638
3636
|
module.exports = exports.default;
|
|
3639
3637
|
},
|
|
3640
|
-
|
|
3638
|
+
3450: (module, exports, __nccwpck_require__) => {
|
|
3641
3639
|
"use strict";
|
|
3642
3640
|
exports.__esModule = true;
|
|
3643
3641
|
exports["default"] = void 0;
|
|
@@ -4913,7 +4911,7 @@
|
|
|
4913
4911
|
"use strict";
|
|
4914
4912
|
exports.__esModule = true;
|
|
4915
4913
|
exports["default"] = void 0;
|
|
4916
|
-
var _parser = _interopRequireDefault(__nccwpck_require__(
|
|
4914
|
+
var _parser = _interopRequireDefault(__nccwpck_require__(3450));
|
|
4917
4915
|
function _interopRequireDefault(obj) {
|
|
4918
4916
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
4919
4917
|
}
|
|
@@ -7964,7 +7962,7 @@
|
|
|
7964
7962
|
"use strict";
|
|
7965
7963
|
module.exports = require("util");
|
|
7966
7964
|
},
|
|
7967
|
-
|
|
7965
|
+
9411: (module) => {
|
|
7968
7966
|
"use strict";
|
|
7969
7967
|
module.exports = JSON.parse(
|
|
7970
7968
|
'{"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"}',
|
|
@@ -7999,6 +7997,6 @@
|
|
|
7999
7997
|
}
|
|
8000
7998
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8001
7999
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8002
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8000
|
+
var __webpack_exports__ = __nccwpck_require__(8810);
|
|
8003
8001
|
module.exports = __webpack_exports__;
|
|
8004
8002
|
})();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
999: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(229)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
229: (__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__(17));
|
|
12
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
13
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _options = _interopRequireDefault(__nccwpck_require__(37));
|
|
13
|
+
var _utils = __nccwpck_require__(441);
|
|
14
14
|
function _interopRequireDefault(obj) {
|
|
15
15
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
16
16
|
}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
var _default = (exports["default"] = lessLoader);
|
|
114
114
|
},
|
|
115
|
-
|
|
115
|
+
441: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
116
116
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
117
117
|
exports.errorFactory = errorFactory;
|
|
118
118
|
exports.getLessImplementation = getLessImplementation;
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
17: (module) => {
|
|
308
308
|
module.exports = require("path");
|
|
309
309
|
},
|
|
310
|
-
|
|
310
|
+
37: (module) => {
|
|
311
311
|
module.exports = JSON.parse(
|
|
312
312
|
'{"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","type":"boolean"},"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}',
|
|
313
313
|
);
|
|
@@ -335,6 +335,6 @@
|
|
|
335
335
|
}
|
|
336
336
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
337
337
|
__nccwpck_require__.ab = __dirname + "/";
|
|
338
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
338
|
+
var __webpack_exports__ = __nccwpck_require__(999);
|
|
339
339
|
module.exports = __webpack_exports__;
|
|
340
340
|
})();
|
|
@@ -91800,19 +91800,19 @@
|
|
|
91800
91800
|
module.exports = createColors();
|
|
91801
91801
|
module.exports.createColors = createColors;
|
|
91802
91802
|
},
|
|
91803
|
-
|
|
91803
|
+
9401: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
91804
91804
|
"use strict";
|
|
91805
|
-
module.exports = __nccwpck_require__(
|
|
91805
|
+
module.exports = __nccwpck_require__(9282)["default"];
|
|
91806
91806
|
},
|
|
91807
|
-
|
|
91807
|
+
9282: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
91808
91808
|
"use strict";
|
|
91809
91809
|
var __webpack_unused_export__;
|
|
91810
91810
|
__webpack_unused_export__ = { value: true };
|
|
91811
91811
|
exports["default"] = loader;
|
|
91812
91812
|
var _path = _interopRequireDefault(__nccwpck_require__(1017));
|
|
91813
91813
|
var _package = _interopRequireDefault(__nccwpck_require__(7337));
|
|
91814
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
91815
|
-
var _utils = __nccwpck_require__(
|
|
91814
|
+
var _options = _interopRequireDefault(__nccwpck_require__(4368));
|
|
91815
|
+
var _utils = __nccwpck_require__(7533);
|
|
91816
91816
|
function _interopRequireDefault(obj) {
|
|
91817
91817
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
91818
91818
|
}
|
|
@@ -91883,7 +91883,7 @@
|
|
|
91883
91883
|
meta &&
|
|
91884
91884
|
meta.ast &&
|
|
91885
91885
|
meta.ast.type === "postcss" &&
|
|
91886
|
-
__nccwpck_require__(
|
|
91886
|
+
__nccwpck_require__(5204).satisfies(
|
|
91887
91887
|
meta.ast.version,
|
|
91888
91888
|
`^${_package.default.version}`,
|
|
91889
91889
|
)
|
|
@@ -91990,7 +91990,7 @@
|
|
|
91990
91990
|
callback(null, result.css, map, { ast });
|
|
91991
91991
|
}
|
|
91992
91992
|
},
|
|
91993
|
-
|
|
91993
|
+
7533: (module, exports, __nccwpck_require__) => {
|
|
91994
91994
|
"use strict";
|
|
91995
91995
|
module = __nccwpck_require__.nmd(module);
|
|
91996
91996
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -92541,7 +92541,7 @@
|
|
|
92541
92541
|
webpackEmptyAsyncContext.id = 7922;
|
|
92542
92542
|
module.exports = webpackEmptyAsyncContext;
|
|
92543
92543
|
},
|
|
92544
|
-
|
|
92544
|
+
5204: (module) => {
|
|
92545
92545
|
"use strict";
|
|
92546
92546
|
module.exports = require("../semver");
|
|
92547
92547
|
},
|
|
@@ -93112,7 +93112,7 @@
|
|
|
93112
93112
|
return keywords.has(word);
|
|
93113
93113
|
}
|
|
93114
93114
|
},
|
|
93115
|
-
|
|
93115
|
+
4368: (module) => {
|
|
93116
93116
|
"use strict";
|
|
93117
93117
|
module.exports = JSON.parse(
|
|
93118
93118
|
'{"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}',
|
|
@@ -93222,6 +93222,6 @@
|
|
|
93222
93222
|
})();
|
|
93223
93223
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
93224
93224
|
__nccwpck_require__.ab = __dirname + "/";
|
|
93225
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
93225
|
+
var __webpack_exports__ = __nccwpck_require__(9401);
|
|
93226
93226
|
module.exports = __webpack_exports__;
|
|
93227
93227
|
})();
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
837: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(139);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
139: (__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 _url = _interopRequireDefault(__nccwpck_require__(310));
|
|
4808
4808
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
4809
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
4810
|
-
var _utils = __nccwpck_require__(
|
|
4809
|
+
var _options = _interopRequireDefault(__nccwpck_require__(906));
|
|
4810
|
+
var _utils = __nccwpck_require__(43);
|
|
4811
4811
|
function _interopRequireDefault(e) {
|
|
4812
4812
|
return e && e.__esModule ? e : { default: e };
|
|
4813
4813
|
}
|
|
@@ -4917,7 +4917,7 @@
|
|
|
4917
4917
|
}
|
|
4918
4918
|
var _default = (exports["default"] = loader);
|
|
4919
4919
|
},
|
|
4920
|
-
|
|
4920
|
+
43: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4921
4921
|
"use strict";
|
|
4922
4922
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
4923
|
exports.errorFactory = errorFactory;
|
|
@@ -5063,6 +5063,7 @@
|
|
|
5063
5063
|
}
|
|
5064
5064
|
if (useSourceMap) {
|
|
5065
5065
|
sassOptions.sourceMap = true;
|
|
5066
|
+
sassOptions.sourceMapIncludeSources = true;
|
|
5066
5067
|
}
|
|
5067
5068
|
if (typeof sassOptions.syntax === "undefined") {
|
|
5068
5069
|
const ext = _path.default.extname(resourcePath);
|
|
@@ -5577,7 +5578,7 @@
|
|
|
5577
5578
|
"use strict";
|
|
5578
5579
|
module.exports = require("url");
|
|
5579
5580
|
},
|
|
5580
|
-
|
|
5581
|
+
906: (module) => {
|
|
5581
5582
|
"use strict";
|
|
5582
5583
|
module.exports = JSON.parse(
|
|
5583
5584
|
'{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/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-contrib/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/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-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}',
|
|
@@ -5607,6 +5608,6 @@
|
|
|
5607
5608
|
}
|
|
5608
5609
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5609
5610
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5610
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
5611
|
+
var __webpack_exports__ = __nccwpck_require__(837);
|
|
5611
5612
|
module.exports = __webpack_exports__;
|
|
5612
5613
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"sass-loader","author":"J. Tangelder","version":"16.0.
|
|
1
|
+
{"name":"sass-loader","author":"J. Tangelder","version":"16.0.4","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
4
|
+
282: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
const loader = __nccwpck_require__(272);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
},
|
|
8
|
-
|
|
8
|
+
272: (__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__(17));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
13
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(183);
|
|
13
|
+
var _options = _interopRequireDefault(__nccwpck_require__(546));
|
|
14
14
|
function _interopRequireDefault(obj) {
|
|
15
15
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
16
16
|
}
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
};
|
|
96
96
|
var _default = (exports["default"] = loader);
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
565: (module) => {
|
|
99
99
|
function isEqualLocals(a, b, isNamedExport) {
|
|
100
100
|
if ((!a && b) || (a && !b)) {
|
|
101
101
|
return false;
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
}
|
|
122
122
|
module.exports = isEqualLocals;
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
183: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
125
125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
126
126
|
exports.getExportLazyStyleCode = getExportLazyStyleCode;
|
|
127
127
|
exports.getExportStyleCode = getExportStyleCode;
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
exports.getdomAPI = getdomAPI;
|
|
143
143
|
exports.stringifyRequest = stringifyRequest;
|
|
144
144
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
145
|
-
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(
|
|
145
|
+
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(565));
|
|
146
146
|
function _interopRequireDefault(obj) {
|
|
147
147
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
148
148
|
}
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
17: (module) => {
|
|
338
338
|
module.exports = require("path");
|
|
339
339
|
},
|
|
340
|
-
|
|
340
|
+
546: (module) => {
|
|
341
341
|
module.exports = JSON.parse(
|
|
342
342
|
'{"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","type":"string"},"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","type":"string"}},"additionalProperties":false}',
|
|
343
343
|
);
|
|
@@ -365,6 +365,6 @@
|
|
|
365
365
|
}
|
|
366
366
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
367
367
|
__nccwpck_require__.ab = __dirname + "/";
|
|
368
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
368
|
+
var __webpack_exports__ = __nccwpck_require__(282);
|
|
369
369
|
module.exports = __webpack_exports__;
|
|
370
370
|
})();
|
|
@@ -65,7 +65,6 @@ function splitByExperience(ctx) {
|
|
|
65
65
|
}
|
|
66
66
|
return {
|
|
67
67
|
...defaultConfig,
|
|
68
|
-
// @ts-ignore
|
|
69
68
|
cacheGroups: {
|
|
70
69
|
...defaultConfig.cacheGroups,
|
|
71
70
|
...experienceCacheGroup,
|
|
@@ -80,7 +79,6 @@ function splitBySize(ctx) {
|
|
|
80
79
|
...defaultConfig,
|
|
81
80
|
minSize: chunkSplit.minSize ?? 0,
|
|
82
81
|
maxSize: chunkSplit.maxSize ?? Number.POSITIVE_INFINITY,
|
|
83
|
-
// @ts-ignore
|
|
84
82
|
cacheGroups: {
|
|
85
83
|
...defaultConfig.cacheGroups,
|
|
86
84
|
...forceSplittingGroups
|
|
@@ -120,7 +118,6 @@ function splitCustom(ctx) {
|
|
|
120
118
|
const { forceSplittingGroups, defaultConfig } = ctx;
|
|
121
119
|
return {
|
|
122
120
|
...defaultConfig,
|
|
123
|
-
// @ts-ignore
|
|
124
121
|
cacheGroups: {
|
|
125
122
|
...defaultConfig.cacheGroups,
|
|
126
123
|
...forceSplittingGroups
|
|
@@ -143,7 +140,6 @@ function singleVendor(ctx) {
|
|
|
143
140
|
};
|
|
144
141
|
return {
|
|
145
142
|
...defaultConfig,
|
|
146
|
-
// @ts-ignore
|
|
147
143
|
cacheGroups: {
|
|
148
144
|
...defaultConfig.cacheGroups,
|
|
149
145
|
...singleVendorCacheGroup,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunkSplit.d.ts","sourceRoot":"","sources":["../../src/bundler-config/chunkSplit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EAKpB,YAAY,EACb,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"chunkSplit.d.ts","sourceRoot":"","sources":["../../src/bundler-config/chunkSplit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EAKpB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAwKxB,eAAO,MAAM,qBAAqB,8BAG/B;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,KAAG,oBAkBH,CAAA"}
|
|
@@ -42,7 +42,6 @@ function splitByExperience(ctx) {
|
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
44
|
...defaultConfig,
|
|
45
|
-
// @ts-ignore
|
|
46
45
|
cacheGroups: {
|
|
47
46
|
...defaultConfig.cacheGroups,
|
|
48
47
|
...experienceCacheGroup,
|
|
@@ -57,7 +56,6 @@ function splitBySize(ctx) {
|
|
|
57
56
|
...defaultConfig,
|
|
58
57
|
minSize: chunkSplit.minSize ?? 0,
|
|
59
58
|
maxSize: chunkSplit.maxSize ?? Number.POSITIVE_INFINITY,
|
|
60
|
-
// @ts-ignore
|
|
61
59
|
cacheGroups: {
|
|
62
60
|
...defaultConfig.cacheGroups,
|
|
63
61
|
...forceSplittingGroups
|
|
@@ -97,7 +95,6 @@ function splitCustom(ctx) {
|
|
|
97
95
|
const { forceSplittingGroups, defaultConfig } = ctx;
|
|
98
96
|
return {
|
|
99
97
|
...defaultConfig,
|
|
100
|
-
// @ts-ignore
|
|
101
98
|
cacheGroups: {
|
|
102
99
|
...defaultConfig.cacheGroups,
|
|
103
100
|
...forceSplittingGroups
|
|
@@ -120,7 +117,6 @@ function singleVendor(ctx) {
|
|
|
120
117
|
};
|
|
121
118
|
return {
|
|
122
119
|
...defaultConfig,
|
|
123
|
-
// @ts-ignore
|
|
124
120
|
cacheGroups: {
|
|
125
121
|
...defaultConfig.cacheGroups,
|
|
126
122
|
...singleVendorCacheGroup,
|
|
@@ -91,7 +91,6 @@ function applyCssConfig({
|
|
|
91
91
|
].filter(Boolean);
|
|
92
92
|
if (!(0, import_utils.isDevServer)()) {
|
|
93
93
|
config.plugins.push(
|
|
94
|
-
// @ts-expect-error - decide by bundler
|
|
95
94
|
new MiniCssExtractPlugin({
|
|
96
95
|
filename: (0, import_helper.getOutputFilename)({ type: "css", hash: unpackConfig.build?.filenameHash })
|
|
97
96
|
})
|
|
@@ -102,7 +101,7 @@ function applyCssConfig({
|
|
|
102
101
|
use: [
|
|
103
102
|
...getCommonRules({ importLoaders: 1 }),
|
|
104
103
|
unpackConfig.build?.parallel && {
|
|
105
|
-
loader:
|
|
104
|
+
loader: require.resolve("thread-loader"),
|
|
106
105
|
options: import_constants.THREAD_OPTIONS
|
|
107
106
|
},
|
|
108
107
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/bundler-config/css.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAazE,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/bundler-config/css.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAazE,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CAiIvB"}
|
|
@@ -83,7 +83,6 @@ function applyCssConfig({
|
|
|
83
83
|
].filter(Boolean);
|
|
84
84
|
if (!isDevServer()) {
|
|
85
85
|
config.plugins.push(
|
|
86
|
-
// @ts-expect-error - decide by bundler
|
|
87
86
|
new MiniCssExtractPlugin({
|
|
88
87
|
filename: getOutputFilename({ type: "css", hash: unpackConfig.build?.filenameHash })
|
|
89
88
|
})
|
|
@@ -94,7 +93,7 @@ function applyCssConfig({
|
|
|
94
93
|
use: [
|
|
95
94
|
...getCommonRules({ importLoaders: 1 }),
|
|
96
95
|
unpackConfig.build?.parallel && {
|
|
97
|
-
loader:
|
|
96
|
+
loader: require.resolve("thread-loader"),
|
|
98
97
|
options: THREAD_OPTIONS
|
|
99
98
|
},
|
|
100
99
|
{
|
|
@@ -77,7 +77,7 @@ function applyExperimentCssConfig({
|
|
|
77
77
|
};
|
|
78
78
|
const getThreadLoader = () => {
|
|
79
79
|
return unpackConfig.build?.parallel && {
|
|
80
|
-
loader:
|
|
80
|
+
loader: require.resolve("thread-loader"),
|
|
81
81
|
options: import_constants.THREAD_OPTIONS
|
|
82
82
|
};
|
|
83
83
|
};
|
|
@@ -98,6 +98,7 @@ function applyExperimentCssConfig({
|
|
|
98
98
|
};
|
|
99
99
|
config.module?.rules?.push({
|
|
100
100
|
test: /\.less$/i,
|
|
101
|
+
// @ts-expect-error
|
|
101
102
|
oneOf: [
|
|
102
103
|
withCssModules({ use: [getThreadLoader(), getLessLoader()].filter(Boolean) }),
|
|
103
104
|
{
|
|
@@ -128,6 +129,7 @@ function applyExperimentCssConfig({
|
|
|
128
129
|
};
|
|
129
130
|
config.module?.rules?.push({
|
|
130
131
|
test: /\.css$/i,
|
|
132
|
+
// @ts-expect-error
|
|
131
133
|
oneOf: [
|
|
132
134
|
withCssModules({ use: [getCssLoader()] }),
|
|
133
135
|
{
|
|
@@ -149,6 +151,7 @@ function applyExperimentCssConfig({
|
|
|
149
151
|
};
|
|
150
152
|
config.module?.rules?.push({
|
|
151
153
|
test: /\.s[ac]ss$/i,
|
|
154
|
+
// @ts-expect-error
|
|
152
155
|
oneOf: [
|
|
153
156
|
withCssModules({ use: [getSassLoader()] }),
|
|
154
157
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAazE,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,
|
|
1
|
+
{"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAazE,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CAgIvB"}
|
|
@@ -69,7 +69,7 @@ function applyExperimentCssConfig({
|
|
|
69
69
|
};
|
|
70
70
|
const getThreadLoader = () => {
|
|
71
71
|
return unpackConfig.build?.parallel && {
|
|
72
|
-
loader:
|
|
72
|
+
loader: require.resolve("thread-loader"),
|
|
73
73
|
options: THREAD_OPTIONS
|
|
74
74
|
};
|
|
75
75
|
};
|
|
@@ -90,6 +90,7 @@ function applyExperimentCssConfig({
|
|
|
90
90
|
};
|
|
91
91
|
config.module?.rules?.push({
|
|
92
92
|
test: /\.less$/i,
|
|
93
|
+
// @ts-expect-error
|
|
93
94
|
oneOf: [
|
|
94
95
|
withCssModules({ use: [getThreadLoader(), getLessLoader()].filter(Boolean) }),
|
|
95
96
|
{
|
|
@@ -120,6 +121,7 @@ function applyExperimentCssConfig({
|
|
|
120
121
|
};
|
|
121
122
|
config.module?.rules?.push({
|
|
122
123
|
test: /\.css$/i,
|
|
124
|
+
// @ts-expect-error
|
|
123
125
|
oneOf: [
|
|
124
126
|
withCssModules({ use: [getCssLoader()] }),
|
|
125
127
|
{
|
|
@@ -141,6 +143,7 @@ function applyExperimentCssConfig({
|
|
|
141
143
|
};
|
|
142
144
|
config.module?.rules?.push({
|
|
143
145
|
test: /\.s[ac]ss$/i,
|
|
146
|
+
// @ts-expect-error
|
|
144
147
|
oneOf: [
|
|
145
148
|
withCssModules({ use: [getSassLoader()] }),
|
|
146
149
|
{
|
|
@@ -167,7 +167,7 @@ async function getBundlerConfig(unpackConfig) {
|
|
|
167
167
|
experiments: {
|
|
168
168
|
lazyCompilation: unpackConfig.dev?.lazyCompilation && (0, import_utils.isDevServer)(),
|
|
169
169
|
css: false,
|
|
170
|
-
...isRspack && (0, import_utils.isDev)()
|
|
170
|
+
...isRspack && (0, import_utils.isDev)() ? { incremental: true } : {}
|
|
171
171
|
},
|
|
172
172
|
optimization: {
|
|
173
173
|
moduleIds: (0, import_utils.isDev)() ? "named" : "deterministic",
|
|
@@ -179,6 +179,7 @@ async function getBundlerConfig(unpackConfig) {
|
|
|
179
179
|
new import_minimizer.LightningcssMinifyPlugin(minifyOptions.lightningcss)
|
|
180
180
|
]
|
|
181
181
|
},
|
|
182
|
+
// @ts-expect-error
|
|
182
183
|
cache: unpackConfig.build?.cache && unpackConfig.bundler === "webpack" ? {
|
|
183
184
|
type: "filesystem"
|
|
184
185
|
} : void 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundler-config/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAoBzE,wBAAsB,gBAAgB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundler-config/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAoBzE,wBAAsB,gBAAgB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAgLhG"}
|
|
@@ -144,7 +144,7 @@ async function getBundlerConfig(unpackConfig) {
|
|
|
144
144
|
experiments: {
|
|
145
145
|
lazyCompilation: unpackConfig.dev?.lazyCompilation && isDevServer(),
|
|
146
146
|
css: false,
|
|
147
|
-
...isRspack && isDev()
|
|
147
|
+
...isRspack && isDev() ? { incremental: true } : {}
|
|
148
148
|
},
|
|
149
149
|
optimization: {
|
|
150
150
|
moduleIds: isDev() ? "named" : "deterministic",
|
|
@@ -156,6 +156,7 @@ async function getBundlerConfig(unpackConfig) {
|
|
|
156
156
|
new LightningcssMinifyPlugin(minifyOptions.lightningcss)
|
|
157
157
|
]
|
|
158
158
|
},
|
|
159
|
+
// @ts-expect-error
|
|
159
160
|
cache: unpackConfig.build?.cache && unpackConfig.bundler === "webpack" ? {
|
|
160
161
|
type: "filesystem"
|
|
161
162
|
} : void 0,
|
|
@@ -46,7 +46,7 @@ class JsMinifyPlugin {
|
|
|
46
46
|
const { implementation, ...transformOptions } = this.options;
|
|
47
47
|
const meta = JSON.stringify({
|
|
48
48
|
name: PLUGIN_NAME,
|
|
49
|
-
version: "1.7.
|
|
49
|
+
version: "1.7.5",
|
|
50
50
|
options: transformOptions
|
|
51
51
|
});
|
|
52
52
|
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
|