@rsbuild/core 0.7.2 → 0.7.3
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/postcss-load-config/index.js +102 -33
- package/compiled/postcss-load-config/package.json +1 -1
- package/compiled/postcss-loader/index.js +16 -16
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/dist/index.cjs +357 -169
- package/dist/index.js +362 -168
- package/dist-types/index.d.ts +1 -1
- package/dist-types/plugins/nonce.d.ts +2 -0
- package/dist-types/plugins/sri.d.ts +2 -0
- package/dist-types/server/devServer.d.ts +1 -1
- package/dist-types/server/httpServer.d.ts +1 -1
- package/dist-types/server/middlewares.d.ts +1 -1
- package/dist-types/server/prodServer.d.ts +1 -1
- package/dist-types/server/socketServer.d.ts +1 -1
- package/package.json +6 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 4458:
|
|
5
5
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
const loader = __nccwpck_require__(
|
|
10
|
+
const loader = __nccwpck_require__(8773);
|
|
11
11
|
module.exports = loader.default;
|
|
12
|
-
module.exports.defaultGetLocalIdent = __nccwpck_require__(
|
|
12
|
+
module.exports.defaultGetLocalIdent = __nccwpck_require__(256).defaultGetLocalIdent;
|
|
13
13
|
|
|
14
14
|
/***/ }),
|
|
15
15
|
|
|
16
|
-
/***/
|
|
16
|
+
/***/ 8773:
|
|
17
17
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
18
18
|
|
|
19
19
|
"use strict";
|
|
@@ -26,9 +26,9 @@ exports["default"] = loader;
|
|
|
26
26
|
var _postcss = _interopRequireDefault(__nccwpck_require__(977));
|
|
27
27
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
28
28
|
var _semver = __nccwpck_require__(1280);
|
|
29
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
30
|
-
var _plugins = __nccwpck_require__(
|
|
31
|
-
var _utils = __nccwpck_require__(
|
|
29
|
+
var _options = _interopRequireDefault(__nccwpck_require__(8962));
|
|
30
|
+
var _plugins = __nccwpck_require__(9270);
|
|
31
|
+
var _utils = __nccwpck_require__(256);
|
|
32
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
33
|
/*
|
|
34
34
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
@@ -198,7 +198,7 @@ async function loader(content, map, meta) {
|
|
|
198
198
|
|
|
199
199
|
/***/ }),
|
|
200
200
|
|
|
201
|
-
/***/
|
|
201
|
+
/***/ 9270:
|
|
202
202
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
203
203
|
|
|
204
204
|
"use strict";
|
|
@@ -225,14 +225,14 @@ Object.defineProperty(exports, "urlParser", ({
|
|
|
225
225
|
return _postcssUrlParser.default;
|
|
226
226
|
}
|
|
227
227
|
}));
|
|
228
|
-
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(
|
|
229
|
-
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(
|
|
230
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(
|
|
228
|
+
var _postcssImportParser = _interopRequireDefault(__nccwpck_require__(2442));
|
|
229
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(1927));
|
|
230
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(1950));
|
|
231
231
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
232
232
|
|
|
233
233
|
/***/ }),
|
|
234
234
|
|
|
235
|
-
/***/
|
|
235
|
+
/***/ 1927:
|
|
236
236
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
237
237
|
|
|
238
238
|
"use strict";
|
|
@@ -243,7 +243,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
243
243
|
}));
|
|
244
244
|
exports["default"] = void 0;
|
|
245
245
|
var _icssUtils = __nccwpck_require__(3275);
|
|
246
|
-
var _utils = __nccwpck_require__(
|
|
246
|
+
var _utils = __nccwpck_require__(256);
|
|
247
247
|
const plugin = (options = {}) => {
|
|
248
248
|
return {
|
|
249
249
|
postcssPlugin: "postcss-icss-parser",
|
|
@@ -352,7 +352,7 @@ var _default = exports["default"] = plugin;
|
|
|
352
352
|
|
|
353
353
|
/***/ }),
|
|
354
354
|
|
|
355
|
-
/***/
|
|
355
|
+
/***/ 2442:
|
|
356
356
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
357
357
|
|
|
358
358
|
"use strict";
|
|
@@ -363,7 +363,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
363
363
|
}));
|
|
364
364
|
exports["default"] = void 0;
|
|
365
365
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
366
|
-
var _utils = __nccwpck_require__(
|
|
366
|
+
var _utils = __nccwpck_require__(256);
|
|
367
367
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
368
368
|
function isIgnoredAfterName(atRule) {
|
|
369
369
|
if (atRule.raws && atRule.raws.afterName && atRule.raws.afterName.trim().length > 0) {
|
|
@@ -652,7 +652,7 @@ var _default = exports["default"] = plugin;
|
|
|
652
652
|
|
|
653
653
|
/***/ }),
|
|
654
654
|
|
|
655
|
-
/***/
|
|
655
|
+
/***/ 1950:
|
|
656
656
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
657
657
|
|
|
658
658
|
"use strict";
|
|
@@ -663,7 +663,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
663
663
|
}));
|
|
664
664
|
exports["default"] = void 0;
|
|
665
665
|
var _postcssValueParser = _interopRequireDefault(__nccwpck_require__(1036));
|
|
666
|
-
var _utils = __nccwpck_require__(
|
|
666
|
+
var _utils = __nccwpck_require__(256);
|
|
667
667
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
668
668
|
const isUrlFunc = /url/i;
|
|
669
669
|
const isImageSetFunc = /^(?:-webkit-)?image-set$/i;
|
|
@@ -1015,7 +1015,7 @@ var _default = exports["default"] = plugin;
|
|
|
1015
1015
|
|
|
1016
1016
|
/***/ }),
|
|
1017
1017
|
|
|
1018
|
-
/***/
|
|
1018
|
+
/***/ 256:
|
|
1019
1019
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1020
1020
|
|
|
1021
1021
|
"use strict";
|
|
@@ -7318,7 +7318,7 @@ module.exports = require("util");
|
|
|
7318
7318
|
|
|
7319
7319
|
/***/ }),
|
|
7320
7320
|
|
|
7321
|
-
/***/
|
|
7321
|
+
/***/ 8962:
|
|
7322
7322
|
/***/ ((module) => {
|
|
7323
7323
|
|
|
7324
7324
|
"use strict";
|
|
@@ -7376,7 +7376,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
7376
7376
|
/******/ // startup
|
|
7377
7377
|
/******/ // Load entry module and return exports
|
|
7378
7378
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
7379
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
7379
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(4458);
|
|
7380
7380
|
/******/ module.exports = __webpack_exports__;
|
|
7381
7381
|
/******/
|
|
7382
7382
|
/******/ })()
|
|
@@ -463,18 +463,17 @@ module.exports.lilconfigSync = function lilconfigSync(name, options) {
|
|
|
463
463
|
|
|
464
464
|
/***/ }),
|
|
465
465
|
|
|
466
|
-
/***/
|
|
466
|
+
/***/ 209:
|
|
467
467
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
468
468
|
|
|
469
469
|
// @ts-check
|
|
470
470
|
const { resolve } = __nccwpck_require__(411)
|
|
471
471
|
|
|
472
472
|
const config = __nccwpck_require__(882)
|
|
473
|
-
const yaml = __nccwpck_require__(352)
|
|
474
473
|
|
|
475
|
-
const loadOptions = __nccwpck_require__(
|
|
476
|
-
const loadPlugins = __nccwpck_require__(
|
|
477
|
-
const req = __nccwpck_require__(
|
|
474
|
+
const loadOptions = __nccwpck_require__(758)
|
|
475
|
+
const loadPlugins = __nccwpck_require__(253)
|
|
476
|
+
const req = __nccwpck_require__(163)
|
|
478
477
|
|
|
479
478
|
const interopRequireDefault = obj =>
|
|
480
479
|
obj && obj.__esModule ? obj : { default: obj }
|
|
@@ -543,6 +542,21 @@ async function loader(filepath) {
|
|
|
543
542
|
return req(filepath)
|
|
544
543
|
}
|
|
545
544
|
|
|
545
|
+
let yaml
|
|
546
|
+
async function yamlLoader(_, content) {
|
|
547
|
+
if (!yaml) {
|
|
548
|
+
try {
|
|
549
|
+
yaml = await Promise.resolve(/* import() */).then(__nccwpck_require__.t.bind(__nccwpck_require__, 128, 23))
|
|
550
|
+
} catch (e) {
|
|
551
|
+
/* c8 ignore start */
|
|
552
|
+
throw new Error(
|
|
553
|
+
`'yaml' is required for the YAML configuration files. Make sure it is installed\nError: ${e.message}`
|
|
554
|
+
)
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
return yaml.parse(content);
|
|
558
|
+
}
|
|
559
|
+
|
|
546
560
|
/** @return {import('lilconfig').Options} */
|
|
547
561
|
const withLoaders = (options = {}) => {
|
|
548
562
|
let moduleName = 'postcss'
|
|
@@ -557,8 +571,8 @@ const withLoaders = (options = {}) => {
|
|
|
557
571
|
'.mjs': loader,
|
|
558
572
|
'.mts': loader,
|
|
559
573
|
'.ts': loader,
|
|
560
|
-
'.yaml':
|
|
561
|
-
'.yml':
|
|
574
|
+
'.yaml': yamlLoader,
|
|
575
|
+
'.yml': yamlLoader
|
|
562
576
|
},
|
|
563
577
|
searchPlaces: [
|
|
564
578
|
...(options.searchPlaces || []),
|
|
@@ -634,11 +648,11 @@ module.exports = rc
|
|
|
634
648
|
|
|
635
649
|
/***/ }),
|
|
636
650
|
|
|
637
|
-
/***/
|
|
651
|
+
/***/ 758:
|
|
638
652
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
639
653
|
|
|
640
654
|
// @ts-check
|
|
641
|
-
const req = __nccwpck_require__(
|
|
655
|
+
const req = __nccwpck_require__(163)
|
|
642
656
|
|
|
643
657
|
/**
|
|
644
658
|
* Load Options
|
|
@@ -689,11 +703,11 @@ module.exports = options
|
|
|
689
703
|
|
|
690
704
|
/***/ }),
|
|
691
705
|
|
|
692
|
-
/***/
|
|
706
|
+
/***/ 253:
|
|
693
707
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
694
708
|
|
|
695
709
|
// @ts-check
|
|
696
|
-
const req = __nccwpck_require__(
|
|
710
|
+
const req = __nccwpck_require__(163)
|
|
697
711
|
|
|
698
712
|
/**
|
|
699
713
|
* Plugin Loader
|
|
@@ -764,7 +778,6 @@ async function plugins(config, file) {
|
|
|
764
778
|
}
|
|
765
779
|
|
|
766
780
|
if (
|
|
767
|
-
// eslint-disable-next-line
|
|
768
781
|
!(
|
|
769
782
|
(typeof plugin === 'object' && Array.isArray(plugin.plugins)) ||
|
|
770
783
|
(typeof plugin === 'object' && plugin.postcssPlugin) ||
|
|
@@ -786,7 +799,7 @@ module.exports = plugins
|
|
|
786
799
|
|
|
787
800
|
/***/ }),
|
|
788
801
|
|
|
789
|
-
/***/
|
|
802
|
+
/***/ 163:
|
|
790
803
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
791
804
|
|
|
792
805
|
// @ts-check
|
|
@@ -799,7 +812,7 @@ let tsx
|
|
|
799
812
|
|
|
800
813
|
let jiti
|
|
801
814
|
|
|
802
|
-
let importError
|
|
815
|
+
let importError = []
|
|
803
816
|
|
|
804
817
|
/**
|
|
805
818
|
* @param {string} name
|
|
@@ -819,9 +832,11 @@ async function req(name, rootFile = __filename) {
|
|
|
819
832
|
}
|
|
820
833
|
|
|
821
834
|
if (tsx === undefined) {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
})
|
|
835
|
+
try {
|
|
836
|
+
tsx = await import('tsx/cjs/api')
|
|
837
|
+
} catch (error) {
|
|
838
|
+
importError.push(error)
|
|
839
|
+
}
|
|
825
840
|
}
|
|
826
841
|
|
|
827
842
|
if (tsx) {
|
|
@@ -830,12 +845,11 @@ async function req(name, rootFile = __filename) {
|
|
|
830
845
|
}
|
|
831
846
|
|
|
832
847
|
if (jiti === undefined) {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
)
|
|
848
|
+
try {
|
|
849
|
+
jiti = (await import('@rsbuild/shared/jiti')).default
|
|
850
|
+
} catch (error) {
|
|
851
|
+
importError.push(error)
|
|
852
|
+
}
|
|
839
853
|
}
|
|
840
854
|
|
|
841
855
|
if (jiti) {
|
|
@@ -843,7 +857,9 @@ async function req(name, rootFile = __filename) {
|
|
|
843
857
|
}
|
|
844
858
|
|
|
845
859
|
throw new Error(
|
|
846
|
-
`'tsx' or 'jiti' is required for the TypeScript configuration files. Make sure it is installed\nError: ${importError
|
|
860
|
+
`'tsx' or 'jiti' is required for the TypeScript configuration files. Make sure it is installed\nError: ${importError
|
|
861
|
+
.map(error => error.message)
|
|
862
|
+
.join('\n')}`
|
|
847
863
|
)
|
|
848
864
|
}
|
|
849
865
|
|
|
@@ -871,14 +887,6 @@ module.exports = webpackEmptyAsyncContext;
|
|
|
871
887
|
|
|
872
888
|
/***/ }),
|
|
873
889
|
|
|
874
|
-
/***/ 352:
|
|
875
|
-
/***/ ((module) => {
|
|
876
|
-
|
|
877
|
-
"use strict";
|
|
878
|
-
module.exports = require("@rsbuild/shared/yaml");
|
|
879
|
-
|
|
880
|
-
/***/ }),
|
|
881
|
-
|
|
882
890
|
/***/ 147:
|
|
883
891
|
/***/ ((module) => {
|
|
884
892
|
|
|
@@ -925,6 +933,14 @@ module.exports = require("os");
|
|
|
925
933
|
"use strict";
|
|
926
934
|
module.exports = require("path");
|
|
927
935
|
|
|
936
|
+
/***/ }),
|
|
937
|
+
|
|
938
|
+
/***/ 128:
|
|
939
|
+
/***/ ((module) => {
|
|
940
|
+
|
|
941
|
+
"use strict";
|
|
942
|
+
module.exports = require("yaml");
|
|
943
|
+
|
|
928
944
|
/***/ })
|
|
929
945
|
|
|
930
946
|
/******/ });
|
|
@@ -960,11 +976,64 @@ module.exports = require("path");
|
|
|
960
976
|
/******/ }
|
|
961
977
|
/******/
|
|
962
978
|
/************************************************************************/
|
|
979
|
+
/******/ /* webpack/runtime/create fake namespace object */
|
|
980
|
+
/******/ (() => {
|
|
981
|
+
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
|
|
982
|
+
/******/ var leafPrototypes;
|
|
983
|
+
/******/ // create a fake namespace object
|
|
984
|
+
/******/ // mode & 1: value is a module id, require it
|
|
985
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
986
|
+
/******/ // mode & 4: return value when already ns object
|
|
987
|
+
/******/ // mode & 16: return value when it's Promise-like
|
|
988
|
+
/******/ // mode & 8|1: behave like require
|
|
989
|
+
/******/ __nccwpck_require__.t = function(value, mode) {
|
|
990
|
+
/******/ if(mode & 1) value = this(value);
|
|
991
|
+
/******/ if(mode & 8) return value;
|
|
992
|
+
/******/ if(typeof value === 'object' && value) {
|
|
993
|
+
/******/ if((mode & 4) && value.__esModule) return value;
|
|
994
|
+
/******/ if((mode & 16) && typeof value.then === 'function') return value;
|
|
995
|
+
/******/ }
|
|
996
|
+
/******/ var ns = Object.create(null);
|
|
997
|
+
/******/ __nccwpck_require__.r(ns);
|
|
998
|
+
/******/ var def = {};
|
|
999
|
+
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
|
|
1000
|
+
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
|
|
1001
|
+
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
|
|
1002
|
+
/******/ }
|
|
1003
|
+
/******/ def['default'] = () => (value);
|
|
1004
|
+
/******/ __nccwpck_require__.d(ns, def);
|
|
1005
|
+
/******/ return ns;
|
|
1006
|
+
/******/ };
|
|
1007
|
+
/******/ })();
|
|
1008
|
+
/******/
|
|
1009
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1010
|
+
/******/ (() => {
|
|
1011
|
+
/******/ // define getter functions for harmony exports
|
|
1012
|
+
/******/ __nccwpck_require__.d = (exports, definition) => {
|
|
1013
|
+
/******/ for(var key in definition) {
|
|
1014
|
+
/******/ if(__nccwpck_require__.o(definition, key) && !__nccwpck_require__.o(exports, key)) {
|
|
1015
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1016
|
+
/******/ }
|
|
1017
|
+
/******/ }
|
|
1018
|
+
/******/ };
|
|
1019
|
+
/******/ })();
|
|
1020
|
+
/******/
|
|
963
1021
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
964
1022
|
/******/ (() => {
|
|
965
1023
|
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
966
1024
|
/******/ })();
|
|
967
1025
|
/******/
|
|
1026
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1027
|
+
/******/ (() => {
|
|
1028
|
+
/******/ // define __esModule on exports
|
|
1029
|
+
/******/ __nccwpck_require__.r = (exports) => {
|
|
1030
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1031
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1032
|
+
/******/ }
|
|
1033
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1034
|
+
/******/ };
|
|
1035
|
+
/******/ })();
|
|
1036
|
+
/******/
|
|
968
1037
|
/******/ /* webpack/runtime/compat */
|
|
969
1038
|
/******/
|
|
970
1039
|
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
@@ -974,7 +1043,7 @@ module.exports = require("path");
|
|
|
974
1043
|
/******/ // startup
|
|
975
1044
|
/******/ // Load entry module and return exports
|
|
976
1045
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
977
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
1046
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(209);
|
|
978
1047
|
/******/ module.exports = __webpack_exports__;
|
|
979
1048
|
/******/
|
|
980
1049
|
/******/ })()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"postcss-load-config","author":"Michael Ciniawky <michael.ciniawsky@gmail.com>","version":"
|
|
1
|
+
{"name":"postcss-load-config","author":"Michael Ciniawky <michael.ciniawsky@gmail.com>","version":"6.0.1","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -7709,17 +7709,17 @@ module.exports.createColors = createColors
|
|
|
7709
7709
|
|
|
7710
7710
|
/***/ }),
|
|
7711
7711
|
|
|
7712
|
-
/***/
|
|
7712
|
+
/***/ 1595:
|
|
7713
7713
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
7714
7714
|
|
|
7715
7715
|
"use strict";
|
|
7716
7716
|
|
|
7717
7717
|
|
|
7718
|
-
module.exports = __nccwpck_require__(
|
|
7718
|
+
module.exports = __nccwpck_require__(920)["default"];
|
|
7719
7719
|
|
|
7720
7720
|
/***/ }),
|
|
7721
7721
|
|
|
7722
|
-
/***/
|
|
7722
|
+
/***/ 920:
|
|
7723
7723
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
7724
7724
|
|
|
7725
7725
|
"use strict";
|
|
@@ -7732,8 +7732,8 @@ __webpack_unused_export__ = ({
|
|
|
7732
7732
|
exports["default"] = loader;
|
|
7733
7733
|
var _path = _interopRequireDefault(__nccwpck_require__(1017));
|
|
7734
7734
|
var _package = _interopRequireDefault(__nccwpck_require__(5446));
|
|
7735
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
7736
|
-
var _utils = __nccwpck_require__(
|
|
7735
|
+
var _options = _interopRequireDefault(__nccwpck_require__(9489));
|
|
7736
|
+
var _utils = __nccwpck_require__(1949);
|
|
7737
7737
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7738
7738
|
let hasExplicitDependencyOnPostCSS = false;
|
|
7739
7739
|
|
|
@@ -7794,7 +7794,7 @@ async function loader(content, sourceMap, meta) {
|
|
|
7794
7794
|
// Reuse PostCSS AST from other loaders
|
|
7795
7795
|
if (meta && meta.ast && meta.ast.type === "postcss" &&
|
|
7796
7796
|
// eslint-disable-next-line global-require
|
|
7797
|
-
(__nccwpck_require__(
|
|
7797
|
+
(__nccwpck_require__(1280).satisfies)(meta.ast.version, `^${_package.default.version}`)) {
|
|
7798
7798
|
({
|
|
7799
7799
|
root
|
|
7800
7800
|
} = meta.ast);
|
|
@@ -7899,7 +7899,7 @@ async function loader(content, sourceMap, meta) {
|
|
|
7899
7899
|
|
|
7900
7900
|
/***/ }),
|
|
7901
7901
|
|
|
7902
|
-
/***/
|
|
7902
|
+
/***/ 1949:
|
|
7903
7903
|
/***/ ((module, exports, __nccwpck_require__) => {
|
|
7904
7904
|
|
|
7905
7905
|
"use strict";
|
|
@@ -8593,7 +8593,7 @@ module.exports = require("@rsbuild/shared/jiti");
|
|
|
8593
8593
|
|
|
8594
8594
|
/***/ }),
|
|
8595
8595
|
|
|
8596
|
-
/***/
|
|
8596
|
+
/***/ 1280:
|
|
8597
8597
|
/***/ ((module) => {
|
|
8598
8598
|
|
|
8599
8599
|
"use strict";
|
|
@@ -8837,7 +8837,7 @@ function _default(rawLines, lineNumber, colNumber, opts = {}) {
|
|
|
8837
8837
|
|
|
8838
8838
|
/***/ }),
|
|
8839
8839
|
|
|
8840
|
-
/***/
|
|
8840
|
+
/***/ 4707:
|
|
8841
8841
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8842
8842
|
|
|
8843
8843
|
"use strict";
|
|
@@ -8915,7 +8915,7 @@ function isIdentifierName(name) {
|
|
|
8915
8915
|
|
|
8916
8916
|
/***/ }),
|
|
8917
8917
|
|
|
8918
|
-
/***/
|
|
8918
|
+
/***/ 6764:
|
|
8919
8919
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8920
8920
|
|
|
8921
8921
|
"use strict";
|
|
@@ -8972,15 +8972,15 @@ Object.defineProperty(exports, "isStrictReservedWord", ({
|
|
|
8972
8972
|
return _keyword.isStrictReservedWord;
|
|
8973
8973
|
}
|
|
8974
8974
|
}));
|
|
8975
|
-
var _identifier = __nccwpck_require__(
|
|
8976
|
-
var _keyword = __nccwpck_require__(
|
|
8975
|
+
var _identifier = __nccwpck_require__(4707);
|
|
8976
|
+
var _keyword = __nccwpck_require__(2727);
|
|
8977
8977
|
|
|
8978
8978
|
//# sourceMappingURL=index.js.map
|
|
8979
8979
|
|
|
8980
8980
|
|
|
8981
8981
|
/***/ }),
|
|
8982
8982
|
|
|
8983
|
-
/***/
|
|
8983
|
+
/***/ 2727:
|
|
8984
8984
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8985
8985
|
|
|
8986
8986
|
"use strict";
|
|
@@ -9035,7 +9035,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
9035
9035
|
exports["default"] = highlight;
|
|
9036
9036
|
exports.shouldHighlight = shouldHighlight;
|
|
9037
9037
|
var _jsTokens = __nccwpck_require__(1192);
|
|
9038
|
-
var _helperValidatorIdentifier = __nccwpck_require__(
|
|
9038
|
+
var _helperValidatorIdentifier = __nccwpck_require__(6764);
|
|
9039
9039
|
var _picocolors = _interopRequireWildcard(__nccwpck_require__(701), true);
|
|
9040
9040
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9041
9041
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -9150,7 +9150,7 @@ function highlight(code, options = {}) {
|
|
|
9150
9150
|
|
|
9151
9151
|
/***/ }),
|
|
9152
9152
|
|
|
9153
|
-
/***/
|
|
9153
|
+
/***/ 9489:
|
|
9154
9154
|
/***/ ((module) => {
|
|
9155
9155
|
|
|
9156
9156
|
"use strict";
|
|
@@ -9278,7 +9278,7 @@ module.exports = JSON.parse('{"name":"postcss","version":"8.4.38","description":
|
|
|
9278
9278
|
/******/ // startup
|
|
9279
9279
|
/******/ // Load entry module and return exports
|
|
9280
9280
|
/******/ // This entry module used 'module' so it can't be inlined
|
|
9281
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
9281
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(1595);
|
|
9282
9282
|
/******/ module.exports = __webpack_exports__;
|
|
9283
9283
|
/******/
|
|
9284
9284
|
/******/ })()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 8280:
|
|
5
5
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -105,7 +105,7 @@ exports.transformFiles = transformFiles;
|
|
|
105
105
|
|
|
106
106
|
/***/ }),
|
|
107
107
|
|
|
108
|
-
/***/
|
|
108
|
+
/***/ 4134:
|
|
109
109
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
110
110
|
|
|
111
111
|
"use strict";
|
|
@@ -116,7 +116,7 @@ const fs_1 = __nccwpck_require__(7147);
|
|
|
116
116
|
const path_1 = __nccwpck_require__(1017);
|
|
117
117
|
const tapable_1 = __nccwpck_require__(4260);
|
|
118
118
|
const webpack_sources_1 = __nccwpck_require__(5433);
|
|
119
|
-
const helpers_1 = __nccwpck_require__(
|
|
119
|
+
const helpers_1 = __nccwpck_require__(8280);
|
|
120
120
|
const compilerHookMap = new WeakMap();
|
|
121
121
|
const getCompilerHooks = (compiler) => {
|
|
122
122
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -7751,7 +7751,7 @@ var exports = __webpack_exports__;
|
|
|
7751
7751
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7752
7752
|
exports.RspackManifestPlugin = exports.WebpackManifestPlugin = exports.getCompilerHooks = void 0;
|
|
7753
7753
|
const path_1 = __nccwpck_require__(1017);
|
|
7754
|
-
const hooks_1 = __nccwpck_require__(
|
|
7754
|
+
const hooks_1 = __nccwpck_require__(4134);
|
|
7755
7755
|
Object.defineProperty(exports, "getCompilerHooks", ({ enumerable: true, get: function () { return hooks_1.getCompilerHooks; } }));
|
|
7756
7756
|
const emitCountMap = new Map();
|
|
7757
7757
|
const defaults = {
|