@rsbuild/core 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/chokidar/index.d.ts +2 -1
- package/compiled/css-loader/index.js +18 -18
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/http-proxy-middleware/index.d.ts +3 -2
- package/compiled/postcss/lib/at-rule.d.ts +140 -0
- package/compiled/postcss/lib/comment.d.ts +68 -0
- package/compiled/postcss/lib/container.d.ts +480 -0
- package/compiled/postcss/lib/css-syntax-error.d.ts +248 -0
- package/compiled/postcss/lib/declaration.d.ts +151 -0
- package/compiled/postcss/lib/document.d.ts +69 -0
- package/compiled/postcss/lib/fromJSON.d.ts +9 -0
- package/compiled/postcss/lib/input.d.ts +206 -0
- package/compiled/postcss/lib/lazy-result.d.ts +190 -0
- package/compiled/postcss/lib/list.d.ts +60 -0
- package/compiled/postcss/lib/no-work-result.d.ts +46 -0
- package/compiled/postcss/lib/node.d.ts +541 -0
- package/compiled/postcss/lib/parse.d.ts +9 -0
- package/compiled/postcss/lib/postcss.d.ts +458 -0
- package/compiled/postcss/lib/previous-map.d.ts +81 -0
- package/compiled/postcss/lib/processor.d.ts +115 -0
- package/compiled/postcss/lib/result.d.ts +205 -0
- package/compiled/postcss/lib/root.d.ts +87 -0
- package/compiled/postcss/lib/rule.d.ts +126 -0
- package/compiled/postcss/lib/stringifier.d.ts +46 -0
- package/compiled/postcss/lib/stringify.d.ts +9 -0
- package/compiled/postcss/lib/warning.d.ts +147 -0
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rslog/index.d.ts +2 -1
- package/compiled/rspack-chain/index.js +66 -66
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-chain/{index.d.ts → types/index.d.ts} +18 -2
- package/compiled/rspack-manifest-plugin/index.d.ts +2 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/tinyglobby/index.d.ts +2 -1
- package/dist/index.cjs +92 -51
- package/dist/index.js +90 -50
- package/dist-types/configChain.d.ts +1 -1
- package/dist-types/helpers/exitHook.d.ts +3 -0
- package/dist-types/helpers/index.d.ts +1 -1
- package/dist-types/types/config.d.ts +2 -3
- package/dist-types/types/hooks.d.ts +6 -2
- package/dist-types/types/plugin.d.ts +1 -1
- package/dist-types/types/rspack.d.ts +1 -1
- package/dist-types/types/thirdParty.d.ts +2 -2
- package/package.json +6 -6
- package/types.d.ts +8 -8
- package/compiled/postcss/index.d.ts +0 -1
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
};
|
|
628
628
|
exports.toString = toString;
|
|
629
629
|
},
|
|
630
|
-
|
|
630
|
+
676: (module) => {
|
|
631
631
|
module.exports = class extends Function {
|
|
632
632
|
constructor() {
|
|
633
633
|
super();
|
|
@@ -640,35 +640,35 @@
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
},
|
|
643
|
-
|
|
644
|
-
const createMap = __nccwpck_require__(
|
|
645
|
-
const createChainable = __nccwpck_require__(
|
|
643
|
+
446: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
644
|
+
const createMap = __nccwpck_require__(635);
|
|
645
|
+
const createChainable = __nccwpck_require__(912);
|
|
646
646
|
module.exports = createMap(createChainable(Object));
|
|
647
647
|
},
|
|
648
|
-
|
|
649
|
-
const createSet = __nccwpck_require__(
|
|
650
|
-
const createChainable = __nccwpck_require__(
|
|
648
|
+
572: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
649
|
+
const createSet = __nccwpck_require__(453);
|
|
650
|
+
const createChainable = __nccwpck_require__(912);
|
|
651
651
|
module.exports = createSet(createChainable(Object));
|
|
652
652
|
},
|
|
653
|
-
|
|
654
|
-
const Callable = __nccwpck_require__(
|
|
655
|
-
const createMap = __nccwpck_require__(
|
|
656
|
-
const createChainable = __nccwpck_require__(
|
|
657
|
-
const createValue = __nccwpck_require__(
|
|
653
|
+
663: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
654
|
+
const Callable = __nccwpck_require__(676);
|
|
655
|
+
const createMap = __nccwpck_require__(635);
|
|
656
|
+
const createChainable = __nccwpck_require__(912);
|
|
657
|
+
const createValue = __nccwpck_require__(776);
|
|
658
658
|
module.exports = createValue(createMap(createChainable(Callable)));
|
|
659
659
|
},
|
|
660
|
-
|
|
661
|
-
const ChainedMap = __nccwpck_require__(
|
|
662
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
663
|
-
const ChainedSet = __nccwpck_require__(
|
|
664
|
-
const Resolve = __nccwpck_require__(
|
|
665
|
-
const ResolveLoader = __nccwpck_require__(
|
|
666
|
-
const Output = __nccwpck_require__(
|
|
667
|
-
const DevServer = __nccwpck_require__(
|
|
668
|
-
const Plugin = __nccwpck_require__(
|
|
669
|
-
const Module = __nccwpck_require__(
|
|
670
|
-
const Optimization = __nccwpck_require__(
|
|
671
|
-
const Performance = __nccwpck_require__(
|
|
660
|
+
842: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
661
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
662
|
+
const ChainedValueMap = __nccwpck_require__(663);
|
|
663
|
+
const ChainedSet = __nccwpck_require__(572);
|
|
664
|
+
const Resolve = __nccwpck_require__(318);
|
|
665
|
+
const ResolveLoader = __nccwpck_require__(981);
|
|
666
|
+
const Output = __nccwpck_require__(113);
|
|
667
|
+
const DevServer = __nccwpck_require__(670);
|
|
668
|
+
const Plugin = __nccwpck_require__(271);
|
|
669
|
+
const Module = __nccwpck_require__(972);
|
|
670
|
+
const Optimization = __nccwpck_require__(117);
|
|
671
|
+
const Performance = __nccwpck_require__(212);
|
|
672
672
|
const castArray = (value) => (Array.isArray(value) ? value : [value]);
|
|
673
673
|
const toEntryObject = (entryPoints) => {
|
|
674
674
|
const entry = Object.keys(entryPoints).reduce(
|
|
@@ -845,9 +845,9 @@
|
|
|
845
845
|
}
|
|
846
846
|
};
|
|
847
847
|
},
|
|
848
|
-
|
|
849
|
-
const ChainedMap = __nccwpck_require__(
|
|
850
|
-
const ChainedSet = __nccwpck_require__(
|
|
848
|
+
670: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
849
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
850
|
+
const ChainedSet = __nccwpck_require__(572);
|
|
851
851
|
module.exports = class extends ChainedMap {
|
|
852
852
|
constructor(parent) {
|
|
853
853
|
super(parent);
|
|
@@ -919,9 +919,9 @@
|
|
|
919
919
|
}
|
|
920
920
|
};
|
|
921
921
|
},
|
|
922
|
-
|
|
923
|
-
const ChainedMap = __nccwpck_require__(
|
|
924
|
-
const Rule = __nccwpck_require__(
|
|
922
|
+
972: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
923
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
924
|
+
const Rule = __nccwpck_require__(478);
|
|
925
925
|
module.exports = class extends ChainedMap {
|
|
926
926
|
constructor(parent) {
|
|
927
927
|
super(parent);
|
|
@@ -976,10 +976,10 @@
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
},
|
|
979
|
-
|
|
980
|
-
const ChainedMap = __nccwpck_require__(
|
|
981
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
982
|
-
const Plugin = __nccwpck_require__(
|
|
979
|
+
117: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
980
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
981
|
+
const ChainedValueMap = __nccwpck_require__(663);
|
|
982
|
+
const Plugin = __nccwpck_require__(271);
|
|
983
983
|
module.exports = class extends ChainedMap {
|
|
984
984
|
constructor(parent) {
|
|
985
985
|
super(parent);
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
}
|
|
1042
1042
|
};
|
|
1043
1043
|
},
|
|
1044
|
-
|
|
1044
|
+
102: (module) => {
|
|
1045
1045
|
module.exports = (Class) =>
|
|
1046
1046
|
class extends Class {
|
|
1047
1047
|
before(name) {
|
|
@@ -1073,8 +1073,8 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
};
|
|
1075
1075
|
},
|
|
1076
|
-
|
|
1077
|
-
const ChainedMap = __nccwpck_require__(
|
|
1076
|
+
113: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1077
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
1078
1078
|
module.exports = class extends ChainedMap {
|
|
1079
1079
|
constructor(parent) {
|
|
1080
1080
|
super(parent);
|
|
@@ -1129,8 +1129,8 @@
|
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
1131
|
},
|
|
1132
|
-
|
|
1133
|
-
const ChainedValueMap = __nccwpck_require__(
|
|
1132
|
+
212: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1133
|
+
const ChainedValueMap = __nccwpck_require__(663);
|
|
1134
1134
|
module.exports = class extends ChainedValueMap {
|
|
1135
1135
|
constructor(parent) {
|
|
1136
1136
|
super(parent);
|
|
@@ -1143,9 +1143,9 @@
|
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
1145
|
},
|
|
1146
|
-
|
|
1147
|
-
const ChainedMap = __nccwpck_require__(
|
|
1148
|
-
const Orderable = __nccwpck_require__(
|
|
1146
|
+
271: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1147
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
1148
|
+
const Orderable = __nccwpck_require__(102);
|
|
1149
1149
|
module.exports = Orderable(
|
|
1150
1150
|
class extends ChainedMap {
|
|
1151
1151
|
constructor(parent, name, type = "plugin") {
|
|
@@ -1199,7 +1199,7 @@
|
|
|
1199
1199
|
}
|
|
1200
1200
|
if (typeof plugin === "string") {
|
|
1201
1201
|
pluginPath = plugin;
|
|
1202
|
-
plugin = __nccwpck_require__(
|
|
1202
|
+
plugin = __nccwpck_require__(563)(pluginPath);
|
|
1203
1203
|
}
|
|
1204
1204
|
const constructorName = plugin.__expression
|
|
1205
1205
|
? `(${plugin.__expression})`
|
|
@@ -1217,10 +1217,10 @@
|
|
|
1217
1217
|
},
|
|
1218
1218
|
);
|
|
1219
1219
|
},
|
|
1220
|
-
|
|
1221
|
-
const ChainedMap = __nccwpck_require__(
|
|
1222
|
-
const ChainedSet = __nccwpck_require__(
|
|
1223
|
-
const Plugin = __nccwpck_require__(
|
|
1220
|
+
318: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1221
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
1222
|
+
const ChainedSet = __nccwpck_require__(572);
|
|
1223
|
+
const Plugin = __nccwpck_require__(271);
|
|
1224
1224
|
const childMaps = ["alias", "fallback", "byDependency", "extensionAlias"];
|
|
1225
1225
|
const childSets = [
|
|
1226
1226
|
"aliasFields",
|
|
@@ -1299,9 +1299,9 @@
|
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
1301
|
},
|
|
1302
|
-
|
|
1303
|
-
const Resolve = __nccwpck_require__(
|
|
1304
|
-
const ChainedSet = __nccwpck_require__(
|
|
1302
|
+
981: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1303
|
+
const Resolve = __nccwpck_require__(318);
|
|
1304
|
+
const ChainedSet = __nccwpck_require__(572);
|
|
1305
1305
|
module.exports = class extends Resolve {
|
|
1306
1306
|
constructor(parent) {
|
|
1307
1307
|
super(parent);
|
|
@@ -1328,12 +1328,12 @@
|
|
|
1328
1328
|
}
|
|
1329
1329
|
};
|
|
1330
1330
|
},
|
|
1331
|
-
|
|
1332
|
-
const ChainedMap = __nccwpck_require__(
|
|
1333
|
-
const ChainedSet = __nccwpck_require__(
|
|
1334
|
-
const Orderable = __nccwpck_require__(
|
|
1335
|
-
const Use = __nccwpck_require__(
|
|
1336
|
-
const Resolve = __nccwpck_require__(
|
|
1331
|
+
478: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1332
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
1333
|
+
const ChainedSet = __nccwpck_require__(572);
|
|
1334
|
+
const Orderable = __nccwpck_require__(102);
|
|
1335
|
+
const Use = __nccwpck_require__(877);
|
|
1336
|
+
const Resolve = __nccwpck_require__(318);
|
|
1337
1337
|
function toArray(arr) {
|
|
1338
1338
|
return Array.isArray(arr) ? arr : [arr];
|
|
1339
1339
|
}
|
|
@@ -1461,10 +1461,10 @@
|
|
|
1461
1461
|
);
|
|
1462
1462
|
module.exports = Rule;
|
|
1463
1463
|
},
|
|
1464
|
-
|
|
1464
|
+
877: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1465
1465
|
const merge = __nccwpck_require__(779);
|
|
1466
|
-
const ChainedMap = __nccwpck_require__(
|
|
1467
|
-
const Orderable = __nccwpck_require__(
|
|
1466
|
+
const ChainedMap = __nccwpck_require__(446);
|
|
1467
|
+
const Orderable = __nccwpck_require__(102);
|
|
1468
1468
|
module.exports = Orderable(
|
|
1469
1469
|
class extends ChainedMap {
|
|
1470
1470
|
constructor(parent, name) {
|
|
@@ -1497,7 +1497,7 @@
|
|
|
1497
1497
|
},
|
|
1498
1498
|
);
|
|
1499
1499
|
},
|
|
1500
|
-
|
|
1500
|
+
912: (module) => {
|
|
1501
1501
|
module.exports = function createChainable(superClass) {
|
|
1502
1502
|
return class extends superClass {
|
|
1503
1503
|
constructor(parent) {
|
|
@@ -1514,7 +1514,7 @@
|
|
|
1514
1514
|
};
|
|
1515
1515
|
};
|
|
1516
1516
|
},
|
|
1517
|
-
|
|
1517
|
+
635: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1518
1518
|
const merge = __nccwpck_require__(779);
|
|
1519
1519
|
module.exports = function createMap(superClass) {
|
|
1520
1520
|
return class extends superClass {
|
|
@@ -1638,7 +1638,7 @@
|
|
|
1638
1638
|
};
|
|
1639
1639
|
};
|
|
1640
1640
|
},
|
|
1641
|
-
|
|
1641
|
+
453: (module) => {
|
|
1642
1642
|
module.exports = function createSet(superClass) {
|
|
1643
1643
|
return class extends superClass {
|
|
1644
1644
|
constructor(...args) {
|
|
@@ -1688,7 +1688,7 @@
|
|
|
1688
1688
|
};
|
|
1689
1689
|
};
|
|
1690
1690
|
},
|
|
1691
|
-
|
|
1691
|
+
776: (module) => {
|
|
1692
1692
|
module.exports = function createValue(superClass) {
|
|
1693
1693
|
return class extends superClass {
|
|
1694
1694
|
constructor(...args) {
|
|
@@ -1726,7 +1726,7 @@
|
|
|
1726
1726
|
};
|
|
1727
1727
|
};
|
|
1728
1728
|
},
|
|
1729
|
-
|
|
1729
|
+
563: (module) => {
|
|
1730
1730
|
function webpackEmptyContext(req) {
|
|
1731
1731
|
var e = new Error("Cannot find module '" + req + "'");
|
|
1732
1732
|
e.code = "MODULE_NOT_FOUND";
|
|
@@ -1734,7 +1734,7 @@
|
|
|
1734
1734
|
}
|
|
1735
1735
|
webpackEmptyContext.keys = () => [];
|
|
1736
1736
|
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1737
|
-
webpackEmptyContext.id =
|
|
1737
|
+
webpackEmptyContext.id = 563;
|
|
1738
1738
|
module.exports = webpackEmptyContext;
|
|
1739
1739
|
},
|
|
1740
1740
|
};
|
|
@@ -1764,6 +1764,6 @@
|
|
|
1764
1764
|
})();
|
|
1765
1765
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
1766
1766
|
__nccwpck_require__.ab = __dirname + "/";
|
|
1767
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
1767
|
+
var __webpack_exports__ = __nccwpck_require__(842);
|
|
1768
1768
|
module.exports = __webpack_exports__;
|
|
1769
1769
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"rspack-chain","author":"rspack-contrib","version":"1.2.
|
|
1
|
+
{"name":"rspack-chain","author":"rspack-contrib","version":"1.2.4","license":"MIT","types":"types/index.d.ts","type":"commonjs"}
|
|
@@ -88,16 +88,19 @@ declare class Config extends __Config.ChainedMap<void> {
|
|
|
88
88
|
experiments(value: RspackConfig['experiments']): this;
|
|
89
89
|
amd(value: RspackConfig['amd']): this;
|
|
90
90
|
bail(value: RspackConfig['bail']): this;
|
|
91
|
-
//
|
|
91
|
+
// Rspack only supports boolean cache
|
|
92
92
|
cache(value: any): this;
|
|
93
|
-
// cache(value: RspackConfig['cache']): this;
|
|
94
93
|
dependencies(value: RspackConfig['dependencies']): this;
|
|
95
94
|
ignoreWarnings(value: RspackConfig['ignoreWarnings']): this;
|
|
96
95
|
loader(value: RspackConfig['loader']): this;
|
|
96
|
+
// @ts-expect-error not supported by Rspack
|
|
97
97
|
parallelism(value: RspackConfig['parallelism']): this;
|
|
98
98
|
profile(value: RspackConfig['profile']): this;
|
|
99
|
+
// @ts-expect-error not supported by Rspack
|
|
99
100
|
recordsPath(value: RspackConfig['recordsPath']): this;
|
|
101
|
+
// @ts-expect-error not supported by Rspack
|
|
100
102
|
recordsInputPath(value: RspackConfig['recordsInputPath']): this;
|
|
103
|
+
// @ts-expect-error not supported by Rspack
|
|
101
104
|
recordsOutputPath(value: RspackConfig['recordsOutputPath']): this;
|
|
102
105
|
name(value: RspackConfig['name']): this;
|
|
103
106
|
infrastructureLogging(value: RspackConfig['infrastructureLogging']): this;
|
|
@@ -174,13 +177,19 @@ declare namespace Config {
|
|
|
174
177
|
parser: ChainedMap<this>;
|
|
175
178
|
rule(name: string): Rule;
|
|
176
179
|
noParse(value: RspackModule['noParse']): this;
|
|
180
|
+
// @ts-expect-error not supported by Rspack
|
|
177
181
|
unsafeCache(value: RspackModule['unsafeCache']): this;
|
|
182
|
+
// @ts-expect-error not supported by Rspack
|
|
178
183
|
wrappedContextCritical(value: RspackModule['wrappedContextCritical']): this;
|
|
184
|
+
// @ts-expect-error not supported by Rspack
|
|
179
185
|
exprContextRegExp(value: RspackModule['exprContextRegExp']): this;
|
|
180
186
|
wrappedContextRecursive(
|
|
187
|
+
// @ts-expect-error not supported by Rspack
|
|
181
188
|
value: RspackModule['wrappedContextRecursive'],
|
|
182
189
|
): this;
|
|
190
|
+
// @ts-expect-error not supported by Rspack
|
|
183
191
|
strictExportPresence(value: RspackModule['strictExportPresence']): this;
|
|
192
|
+
// @ts-expect-error not supported by Rspack
|
|
184
193
|
wrappedContextRegExp(value: RspackModule['wrappedContextRegExp']): this;
|
|
185
194
|
}
|
|
186
195
|
|
|
@@ -225,6 +234,7 @@ declare namespace Config {
|
|
|
225
234
|
publicPath(value: RspackOutput['publicPath']): this;
|
|
226
235
|
scriptType(value: RspackOutput['scriptType']): this;
|
|
227
236
|
sourceMapFilename(value: RspackOutput['sourceMapFilename']): this;
|
|
237
|
+
// @ts-expect-error not supported by Rspack
|
|
228
238
|
sourcePrefix(value: RspackOutput['sourcePrefix']): this;
|
|
229
239
|
strictModuleErrorHandling(
|
|
230
240
|
value: RspackOutput['strictModuleErrorHandling'],
|
|
@@ -384,10 +394,13 @@ declare namespace Config {
|
|
|
384
394
|
>;
|
|
385
395
|
byDependency: TypedChainedMap<this, RspackResolve['byDependency']>;
|
|
386
396
|
|
|
397
|
+
// @ts-expect-error not supported by Rspack
|
|
387
398
|
cachePredicate(value: RspackResolve['cachePredicate']): this;
|
|
399
|
+
// @ts-expect-error not supported by Rspack
|
|
388
400
|
cacheWithContext(value: RspackResolve['cacheWithContext']): this;
|
|
389
401
|
enforceExtension(value: RspackResolve['enforceExtension']): this;
|
|
390
402
|
symlinks(value: RspackResolve['symlinks']): this;
|
|
403
|
+
// @ts-expect-error not supported by Rspack
|
|
391
404
|
unsafeCache(value: RspackResolve['unsafeCache']): this;
|
|
392
405
|
preferRelative(value: RspackResolve['preferRelative']): this;
|
|
393
406
|
preferAbsolute(value: RspackResolve['preferAbsolute']): this;
|
|
@@ -457,6 +470,7 @@ declare namespace Config {
|
|
|
457
470
|
moduleIds(value: RspackOptimization['moduleIds']): this;
|
|
458
471
|
chunkIds(value: RspackOptimization['chunkIds']): this;
|
|
459
472
|
nodeEnv(value: RspackOptimization['nodeEnv']): this;
|
|
473
|
+
// @ts-expect-error not supported by Rspack
|
|
460
474
|
mangleWasmImports(value: RspackOptimization['mangleWasmImports']): this;
|
|
461
475
|
removeAvailableModules(
|
|
462
476
|
value: RspackOptimization['removeAvailableModules'],
|
|
@@ -465,11 +479,13 @@ declare namespace Config {
|
|
|
465
479
|
mergeDuplicateChunks(
|
|
466
480
|
value: RspackOptimization['mergeDuplicateChunks'],
|
|
467
481
|
): this;
|
|
482
|
+
// @ts-expect-error not supported by Rspack
|
|
468
483
|
flagIncludedChunks(value: RspackOptimization['flagIncludedChunks']): this;
|
|
469
484
|
providedExports(value: RspackOptimization['providedExports']): this;
|
|
470
485
|
usedExports(value: RspackOptimization['usedExports']): this;
|
|
471
486
|
concatenateModules(value: RspackOptimization['concatenateModules']): this;
|
|
472
487
|
sideEffects(value: RspackOptimization['sideEffects']): this;
|
|
488
|
+
// @ts-expect-error not supported by Rspack
|
|
473
489
|
portableRecords(value: RspackOptimization['portableRecords']): this;
|
|
474
490
|
mangleExports(value: RspackOptimization['mangleExports']): this;
|
|
475
491
|
innerGraph(value: RspackOptimization['innerGraph']): this;
|
|
@@ -41,4 +41,5 @@ declare class WebpackManifestPlugin implements RspackPluginInstance {
|
|
|
41
41
|
|
|
42
42
|
declare const RspackManifestPlugin: typeof WebpackManifestPlugin;
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { RspackManifestPlugin, WebpackManifestPlugin, getCompilerHooks };
|
|
45
|
+
export type { EmitCountMap, FileDescriptor, InternalOptions, Manifest, ManifestPluginOptions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
4
|
+
207: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.transformFiles =
|
|
7
7
|
exports.reduceChunk =
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
.map(standardizeFilePaths);
|
|
121
121
|
exports.transformFiles = transformFiles;
|
|
122
122
|
},
|
|
123
|
-
|
|
123
|
+
338: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
124
124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125
125
|
exports.normalModuleLoaderHook =
|
|
126
126
|
exports.getCompilerHooks =
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
const fs_1 = __nccwpck_require__(896);
|
|
131
131
|
const path_1 = __nccwpck_require__(928);
|
|
132
132
|
const lite_tapable_1 = __nccwpck_require__(408);
|
|
133
|
-
const helpers_1 = __nccwpck_require__(
|
|
133
|
+
const helpers_1 = __nccwpck_require__(207);
|
|
134
134
|
const compilerHookMap = new WeakMap();
|
|
135
135
|
const getCompilerHooks = (compiler) => {
|
|
136
136
|
let hooks = compilerHookMap.get(compiler);
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
exports.getCompilerHooks =
|
|
313
313
|
void 0;
|
|
314
314
|
const path_1 = __nccwpck_require__(928);
|
|
315
|
-
const hooks_1 = __nccwpck_require__(
|
|
315
|
+
const hooks_1 = __nccwpck_require__(338);
|
|
316
316
|
Object.defineProperty(exports, "getCompilerHooks", {
|
|
317
317
|
enumerable: true,
|
|
318
318
|
get: function () {
|
|
@@ -23,4 +23,5 @@ declare function glob(options: GlobOptions): Promise<string[]>;
|
|
|
23
23
|
declare function globSync(patterns: string | string[], options?: Omit<GlobOptions, 'patterns'>): string[];
|
|
24
24
|
declare function globSync(options: GlobOptions): string[];
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
|
27
|
+
export type { GlobOptions };
|