@rsbuild/core 1.3.3 → 1.3.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/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 +22 -20
- package/dist/index.js +22 -20
- package/dist-types/configChain.d.ts +1 -1
- package/dist-types/helpers/index.d.ts +1 -1
- package/dist-types/types/config.d.ts +1 -1
- package/dist-types/types/hooks.d.ts +1 -1
- 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
|
+
970: (__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
|
+
475: (__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__(970);
|
|
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__(475);
|
|
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 };
|
package/dist/index.cjs
CHANGED
|
@@ -1231,7 +1231,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
1231
1231
|
return !verbose && message.includes(innerError) && (message = message.split(innerError)[0]), (message = (message = hintNodePolyfill(message = function(message) {
|
|
1232
1232
|
let hint = 'You may need an appropriate loader to handle this file type.';
|
|
1233
1233
|
if (-1 === message.indexOf(hint)) return message;
|
|
1234
|
-
let createPluginHint = (packageName, keyword)=>`To enable support for ${keyword}, use "${index_js_default().yellow(`@rsbuild/plugin-${packageName}`)}" ${index_js_default().dim(`(https://
|
|
1234
|
+
let createPluginHint = (packageName, keyword)=>`To enable support for ${keyword}, use "${index_js_default().yellow(`@rsbuild/plugin-${packageName}`)}" ${index_js_default().dim(`(https://npmjs.com/package/@rsbuild/plugin-${packageName})`)}.`;
|
|
1235
1235
|
for (let plugin of [
|
|
1236
1236
|
{
|
|
1237
1237
|
test: /File: .+\.s(c|a)ss/,
|
|
@@ -2207,7 +2207,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2207
2207
|
async function createContext(options, userConfig) {
|
|
2208
2208
|
let { cwd } = options, rootPath = userConfig.root ? getAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, external_node_path_namespaceObject.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0;
|
|
2209
2209
|
return {
|
|
2210
|
-
version: "1.3.
|
|
2210
|
+
version: "1.3.5",
|
|
2211
2211
|
rootPath,
|
|
2212
2212
|
distPath: '',
|
|
2213
2213
|
cachePath,
|
|
@@ -3893,10 +3893,10 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
3893
3893
|
], getDefaultBrowserForAppleScript = async ()=>{
|
|
3894
3894
|
let { stdout: ps } = await execAsync('ps cax');
|
|
3895
3895
|
return supportedChromiumBrowsers.find((b)=>ps.includes(b));
|
|
3896
|
-
}, mapChromiumBrowserName = (browser)=>'chrome' === browser || 'google chrome' === browser ? 'Google Chrome' : browser, shouldTryAppleScript = (browser)=>'darwin' === process.platform && (!browser || supportedChromiumBrowsers.includes(mapChromiumBrowserName(browser)));
|
|
3896
|
+
}, mapChromiumBrowserName = (browser)=>'chrome' === browser || 'google chrome' === browser ? 'Google Chrome' : browser, shouldTryAppleScript = (browser, browserArgs)=>'darwin' === process.platform && (!browser || !browserArgs) && (!browser || supportedChromiumBrowsers.includes(mapChromiumBrowserName(browser)));
|
|
3897
3897
|
async function openBrowser(url) {
|
|
3898
|
-
let browser = process.env.BROWSER;
|
|
3899
|
-
if (shouldTryAppleScript(browser)) try {
|
|
3898
|
+
let browser = process.env.BROWSER, browserArgs = process.env.BROWSER_ARGS;
|
|
3899
|
+
if (shouldTryAppleScript(browser, browserArgs)) try {
|
|
3900
3900
|
let chromiumBrowser = browser ? mapChromiumBrowserName(browser) : await getDefaultBrowserForAppleScript();
|
|
3901
3901
|
if (chromiumBrowser) return await execAsync(`osascript openChrome.applescript "${encodeURI(url)}" "${chromiumBrowser}"`, {
|
|
3902
3902
|
cwd: STATIC_PATH
|
|
@@ -3906,12 +3906,13 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
3906
3906
|
rslog_index_js_namespaceObject.logger.debug("failed to open start URL with apple script."), rslog_index_js_namespaceObject.logger.debug(err);
|
|
3907
3907
|
}
|
|
3908
3908
|
try {
|
|
3909
|
-
let { default: open } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "../../compiled/open/index.js"))
|
|
3910
|
-
return await open(url, browser ? {
|
|
3909
|
+
let { default: open } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "../../compiled/open/index.js")), { apps } = open, options = browser ? {
|
|
3911
3910
|
app: {
|
|
3912
|
-
name: browser
|
|
3911
|
+
name: apps[browser] ?? browser,
|
|
3912
|
+
arguments: null == browserArgs ? void 0 : browserArgs.split(' ')
|
|
3913
3913
|
}
|
|
3914
|
-
} : {}
|
|
3914
|
+
} : {};
|
|
3915
|
+
return await open(url, options), !0;
|
|
3915
3916
|
} catch (err) {
|
|
3916
3917
|
return rslog_index_js_namespaceObject.logger.error('Failed to open start URL.'), rslog_index_js_namespaceObject.logger.error(err), !1;
|
|
3917
3918
|
}
|
|
@@ -5380,14 +5381,15 @@ throw new Error('Failed to load Node.js addon: "${name}"\\n' + error);
|
|
|
5380
5381
|
text: formattedErrors,
|
|
5381
5382
|
html: function(errors, root) {
|
|
5382
5383
|
let htmlItems = errors.map((item)=>{
|
|
5383
|
-
var text, text1, root1;
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
let
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5384
|
+
var text, text1 = server_ansiHTML((text = item) ? text.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''') : ''), root1 = root;
|
|
5385
|
+
let pathRegex = /(?:\.\.?[\/\\]|[a-zA-Z]:\\|\/)[^:]*:\d+:\d+/g;
|
|
5386
|
+
return text1.split('\n').map((line)=>line.replace(pathRegex, (file)=>{
|
|
5387
|
+
let hasClosingSpan = file.includes('</span>') && !file.includes('<span'), filePath = hasClosingSpan ? file.replace('</span>', '') : file, isAbsolute = external_node_path_default().isAbsolute(filePath), absolutePath = root1 && !isAbsolute ? external_node_path_default().join(root1, filePath) : filePath, relativePath = root1 && isAbsolute ? function(base, filepath) {
|
|
5388
|
+
let relativePath = (0, external_node_path_namespaceObject.relative)(base, filepath);
|
|
5389
|
+
return '' === relativePath ? `.${external_node_path_namespaceObject.sep}` : relativePath.startsWith('.') ? relativePath : `.${external_node_path_namespaceObject.sep}${relativePath}`;
|
|
5390
|
+
}(root1, filePath) : filePath;
|
|
5391
|
+
return `<a class="file-link" data-file="${absolutePath}">${relativePath}</a>${hasClosingSpan ? '</span>' : ''}`;
|
|
5392
|
+
})).join('\n');
|
|
5391
5393
|
});
|
|
5392
5394
|
return `
|
|
5393
5395
|
<style>
|
|
@@ -7401,11 +7403,11 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
7401
7403
|
}
|
|
7402
7404
|
process.title = 'rsbuild-node';
|
|
7403
7405
|
let { npm_execpath } = process.env;
|
|
7404
|
-
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), rslog_index_js_namespaceObject.logger.greet(` Rsbuild v1.3.
|
|
7406
|
+
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), rslog_index_js_namespaceObject.logger.greet(` Rsbuild v1.3.5\n`);
|
|
7405
7407
|
try {
|
|
7406
7408
|
!function() {
|
|
7407
7409
|
let cli = cac_dist('rsbuild');
|
|
7408
|
-
cli.help(), cli.version("1.3.
|
|
7410
|
+
cli.help(), cli.version("1.3.5"), applyCommonOptions(cli);
|
|
7409
7411
|
let devCommand = cli.command('', 'starting the dev server').alias('dev'), buildCommand = cli.command('build', 'build the app for production'), previewCommand = cli.command('preview', 'preview the production build locally'), inspectCommand = cli.command('inspect', 'inspect the Rspack and Rsbuild configs');
|
|
7410
7412
|
applyServerOptions(devCommand), applyServerOptions(previewCommand), devCommand.action(async (options)=>{
|
|
7411
7413
|
try {
|
|
@@ -7456,7 +7458,7 @@ ${section.body}` : section.body).join("\n\n"));
|
|
|
7456
7458
|
rslog_index_js_namespaceObject.logger.error('Failed to start Rsbuild CLI.'), rslog_index_js_namespaceObject.logger.error(err);
|
|
7457
7459
|
}
|
|
7458
7460
|
}
|
|
7459
|
-
let src_rslib_entry_version = "1.3.
|
|
7461
|
+
let src_rslib_entry_version = "1.3.5";
|
|
7460
7462
|
})(), exports.PLUGIN_CSS_NAME = __webpack_exports__.PLUGIN_CSS_NAME, exports.PLUGIN_SWC_NAME = __webpack_exports__.PLUGIN_SWC_NAME, exports.createRsbuild = __webpack_exports__.createRsbuild, exports.defineConfig = __webpack_exports__.defineConfig, exports.ensureAssetPrefix = __webpack_exports__.ensureAssetPrefix, exports.loadConfig = __webpack_exports__.loadConfig, exports.loadEnv = __webpack_exports__.loadEnv, exports.logger = __webpack_exports__.logger, exports.mergeRsbuildConfig = __webpack_exports__.mergeRsbuildConfig, exports.rspack = __webpack_exports__.rspack, exports.runCLI = __webpack_exports__.runCLI, exports.version = __webpack_exports__.version, __webpack_exports__)-1 === [
|
|
7461
7463
|
"PLUGIN_CSS_NAME",
|
|
7462
7464
|
"PLUGIN_SWC_NAME",
|
package/dist/index.js
CHANGED
|
@@ -1137,7 +1137,7 @@ function formatMessage(stats, verbose) {
|
|
|
1137
1137
|
return !verbose && message.includes(innerError) && (message = message.split(innerError)[0]), (message = (message = hintNodePolyfill(message = function(message) {
|
|
1138
1138
|
let hint = 'You may need an appropriate loader to handle this file type.';
|
|
1139
1139
|
if (-1 === message.indexOf(hint)) return message;
|
|
1140
|
-
let createPluginHint = (packageName, keyword)=>`To enable support for ${keyword}, use "${__WEBPACK_EXTERNAL_MODULE__compiled_picocolors_index_js_ea7a20e9__.default.yellow(`@rsbuild/plugin-${packageName}`)}" ${__WEBPACK_EXTERNAL_MODULE__compiled_picocolors_index_js_ea7a20e9__.default.dim(`(https://
|
|
1140
|
+
let createPluginHint = (packageName, keyword)=>`To enable support for ${keyword}, use "${__WEBPACK_EXTERNAL_MODULE__compiled_picocolors_index_js_ea7a20e9__.default.yellow(`@rsbuild/plugin-${packageName}`)}" ${__WEBPACK_EXTERNAL_MODULE__compiled_picocolors_index_js_ea7a20e9__.default.dim(`(https://npmjs.com/package/@rsbuild/plugin-${packageName})`)}.`;
|
|
1141
1141
|
for (let plugin of [
|
|
1142
1142
|
{
|
|
1143
1143
|
test: /File: .+\.s(c|a)ss/,
|
|
@@ -2107,7 +2107,7 @@ async function updateEnvironmentContext(context, configs) {
|
|
|
2107
2107
|
async function createContext(options, userConfig) {
|
|
2108
2108
|
let { cwd } = options, rootPath = userConfig.root ? getAbsolutePath(cwd, userConfig.root) : cwd, rsbuildConfig = await withDefaultConfig(rootPath, userConfig), cachePath = (0, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.join)(rootPath, 'node_modules', '.cache'), specifiedEnvironments = options.environment && options.environment.length > 0 ? options.environment : void 0;
|
|
2109
2109
|
return {
|
|
2110
|
-
version: "1.3.
|
|
2110
|
+
version: "1.3.5",
|
|
2111
2111
|
rootPath,
|
|
2112
2112
|
distPath: '',
|
|
2113
2113
|
cachePath,
|
|
@@ -3784,10 +3784,10 @@ let execAsync = (0, __WEBPACK_EXTERNAL_MODULE_node_util_1b29d436__.promisify)(__
|
|
|
3784
3784
|
], getDefaultBrowserForAppleScript = async ()=>{
|
|
3785
3785
|
let { stdout: ps } = await execAsync('ps cax');
|
|
3786
3786
|
return supportedChromiumBrowsers.find((b)=>ps.includes(b));
|
|
3787
|
-
}, mapChromiumBrowserName = (browser)=>'chrome' === browser || 'google chrome' === browser ? 'Google Chrome' : browser, shouldTryAppleScript = (browser)=>'darwin' === process.platform && (!browser || supportedChromiumBrowsers.includes(mapChromiumBrowserName(browser)));
|
|
3787
|
+
}, mapChromiumBrowserName = (browser)=>'chrome' === browser || 'google chrome' === browser ? 'Google Chrome' : browser, shouldTryAppleScript = (browser, browserArgs)=>'darwin' === process.platform && (!browser || !browserArgs) && (!browser || supportedChromiumBrowsers.includes(mapChromiumBrowserName(browser)));
|
|
3788
3788
|
async function openBrowser(url) {
|
|
3789
|
-
let browser = process.env.BROWSER;
|
|
3790
|
-
if (shouldTryAppleScript(browser)) try {
|
|
3789
|
+
let browser = process.env.BROWSER, browserArgs = process.env.BROWSER_ARGS;
|
|
3790
|
+
if (shouldTryAppleScript(browser, browserArgs)) try {
|
|
3791
3791
|
let chromiumBrowser = browser ? mapChromiumBrowserName(browser) : await getDefaultBrowserForAppleScript();
|
|
3792
3792
|
if (chromiumBrowser) return await execAsync(`osascript openChrome.applescript "${encodeURI(url)}" "${chromiumBrowser}"`, {
|
|
3793
3793
|
cwd: STATIC_PATH
|
|
@@ -3797,12 +3797,13 @@ async function openBrowser(url) {
|
|
|
3797
3797
|
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.debug("failed to open start URL with apple script."), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.debug(err);
|
|
3798
3798
|
}
|
|
3799
3799
|
try {
|
|
3800
|
-
let { default: open } = await import("../compiled/open/index.js")
|
|
3801
|
-
return await open(url, browser ? {
|
|
3800
|
+
let { default: open } = await import("../compiled/open/index.js"), { apps } = open, options = browser ? {
|
|
3802
3801
|
app: {
|
|
3803
|
-
name: browser
|
|
3802
|
+
name: apps[browser] ?? browser,
|
|
3803
|
+
arguments: null == browserArgs ? void 0 : browserArgs.split(' ')
|
|
3804
3804
|
}
|
|
3805
|
-
} : {}
|
|
3805
|
+
} : {};
|
|
3806
|
+
return await open(url, options), !0;
|
|
3806
3807
|
} catch (err) {
|
|
3807
3808
|
return __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error('Failed to open start URL.'), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error(err), !1;
|
|
3808
3809
|
}
|
|
@@ -5261,14 +5262,15 @@ class SocketServer {
|
|
|
5261
5262
|
text: formattedErrors,
|
|
5262
5263
|
html: function(errors, root) {
|
|
5263
5264
|
let htmlItems = errors.map((item)=>{
|
|
5264
|
-
var text;
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
let
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5265
|
+
var text = server_ansiHTML(item ? item.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''') : ''), root1 = root;
|
|
5266
|
+
let pathRegex = /(?:\.\.?[\/\\]|[a-zA-Z]:\\|\/)[^:]*:\d+:\d+/g;
|
|
5267
|
+
return text.split('\n').map((line)=>line.replace(pathRegex, (file)=>{
|
|
5268
|
+
let hasClosingSpan = file.includes('</span>') && !file.includes('<span'), filePath = hasClosingSpan ? file.replace('</span>', '') : file, isAbsolute = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.default.isAbsolute(filePath), absolutePath = root1 && !isAbsolute ? __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.default.join(root1, filePath) : filePath, relativePath = root1 && isAbsolute ? function(base, filepath) {
|
|
5269
|
+
let relativePath = (0, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.relative)(base, filepath);
|
|
5270
|
+
return '' === relativePath ? `.${__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.sep}` : relativePath.startsWith('.') ? relativePath : `.${__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__.sep}${relativePath}`;
|
|
5271
|
+
}(root1, filePath) : filePath;
|
|
5272
|
+
return `<a class="file-link" data-file="${absolutePath}">${relativePath}</a>${hasClosingSpan ? '</span>' : ''}`;
|
|
5273
|
+
})).join('\n');
|
|
5272
5274
|
});
|
|
5273
5275
|
return `
|
|
5274
5276
|
<style>
|
|
@@ -7275,11 +7277,11 @@ async function runCLI() {
|
|
|
7275
7277
|
}
|
|
7276
7278
|
process.title = 'rsbuild-node';
|
|
7277
7279
|
let { npm_execpath } = process.env;
|
|
7278
|
-
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rsbuild v1.3.
|
|
7280
|
+
(!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) && console.log(), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.greet(` Rsbuild v1.3.5\n`);
|
|
7279
7281
|
try {
|
|
7280
7282
|
!function() {
|
|
7281
7283
|
let cli = cac_dist('rsbuild');
|
|
7282
|
-
cli.help(), cli.version("1.3.
|
|
7284
|
+
cli.help(), cli.version("1.3.5"), applyCommonOptions(cli);
|
|
7283
7285
|
let devCommand = cli.command('', 'starting the dev server').alias('dev'), buildCommand = cli.command('build', 'build the app for production'), previewCommand = cli.command('preview', 'preview the production build locally'), inspectCommand = cli.command('inspect', 'inspect the Rspack and Rsbuild configs');
|
|
7284
7286
|
applyServerOptions(devCommand), applyServerOptions(previewCommand), devCommand.action(async (options)=>{
|
|
7285
7287
|
try {
|
|
@@ -7330,6 +7332,6 @@ async function runCLI() {
|
|
|
7330
7332
|
__WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error('Failed to start Rsbuild CLI.'), __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger.error(err);
|
|
7331
7333
|
}
|
|
7332
7334
|
}
|
|
7333
|
-
let src_version = "1.3.
|
|
7335
|
+
let src_version = "1.3.5";
|
|
7334
7336
|
var __webpack_exports__logger = __WEBPACK_EXTERNAL_MODULE__compiled_rslog_index_js_c302f6e3__.logger, __webpack_exports__rspack = __WEBPACK_EXTERNAL_MODULE__rspack_core_e0096ff7__.rspack;
|
|
7335
7337
|
export { PLUGIN_CSS_NAME, PLUGIN_SWC_NAME, createRsbuild, defineConfig, ensureAssetPrefix, config_loadConfig as loadConfig, loadEnv, mergeRsbuildConfig, runCLI, src_version as version, __webpack_exports__logger as logger, __webpack_exports__rspack as rspack };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import RspackChain from '../compiled/rspack-chain
|
|
1
|
+
import RspackChain from '../compiled/rspack-chain';
|
|
2
2
|
import type { InternalContext, ModifyBundlerChainUtils } from './types';
|
|
3
3
|
export declare function modifyBundlerChain(context: InternalContext, utils: ModifyBundlerChainUtils): Promise<RspackChain>;
|
|
4
4
|
export declare const CHAIN_ID: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import color from '../../compiled/picocolors/index.js';
|
|
2
|
-
import type RspackChain from '../../compiled/rspack-chain
|
|
2
|
+
import type RspackChain from '../../compiled/rspack-chain';
|
|
3
3
|
import type { FilenameConfig, NormalizedConfig, NormalizedEnvironmentConfig, RsbuildTarget, Rspack } from '../types';
|
|
4
4
|
export * from './fs';
|
|
5
5
|
export * from './path';
|