@rsbuild/webpack 1.1.6 → 1.2.0-alpha.0
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/dist/{863.js → 240.js} +1 -1
- package/dist/{664.cjs → 290.cjs} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.js +5 -5
- package/package.json +4 -4
package/dist/{863.js → 240.js}
RENAMED
package/dist/{664.cjs → 290.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
let __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
3
3
|
exports.ids = [
|
|
4
|
-
'
|
|
4
|
+
'290'
|
|
5
5
|
], exports.modules = {
|
|
6
6
|
"./src/progress/ProgressPlugin.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
__webpack_require__.d(__webpack_exports__, {
|
package/dist/index.cjs
CHANGED
|
@@ -200,8 +200,8 @@ async function initConfigs({ context, pluginManager, rsbuildOptions, helpers })
|
|
|
200
200
|
helpers
|
|
201
201
|
})));
|
|
202
202
|
if ('verbose' === core_.logger.level) {
|
|
203
|
-
let inspect = ()=>{
|
|
204
|
-
inspectConfig({
|
|
203
|
+
let inspect = async ()=>{
|
|
204
|
+
await inspectConfig({
|
|
205
205
|
context,
|
|
206
206
|
pluginManager,
|
|
207
207
|
inspectOptions: {
|
|
@@ -213,8 +213,8 @@ async function initConfigs({ context, pluginManager, rsbuildOptions, helpers })
|
|
|
213
213
|
helpers
|
|
214
214
|
});
|
|
215
215
|
};
|
|
216
|
-
context.hooks.onBeforeBuild.tap(({ isFirstCompile })=>{
|
|
217
|
-
isFirstCompile && inspect();
|
|
216
|
+
context.hooks.onBeforeBuild.tap(async ({ isFirstCompile })=>{
|
|
217
|
+
isFirstCompile && await inspect();
|
|
218
218
|
}), context.hooks.onAfterStartDevServer.tap(inspect);
|
|
219
219
|
}
|
|
220
220
|
return {
|
|
@@ -329,7 +329,7 @@ let getMainFields = (chain, target)=>{
|
|
|
329
329
|
if (progress) {
|
|
330
330
|
let { ProgressPlugin } = await Promise.all([
|
|
331
331
|
__webpack_require__.e("997"),
|
|
332
|
-
__webpack_require__.e("
|
|
332
|
+
__webpack_require__.e("290")
|
|
333
333
|
]).then(__webpack_require__.bind(__webpack_require__, "./src/progress/ProgressPlugin.ts"));
|
|
334
334
|
chain.plugin(CHAIN_ID.PLUGIN.PROGRESS).use(ProgressPlugin, [
|
|
335
335
|
{
|
package/dist/index.js
CHANGED
|
@@ -192,8 +192,8 @@ async function initConfigs({ context, pluginManager, rsbuildOptions, helpers })
|
|
|
192
192
|
helpers
|
|
193
193
|
})));
|
|
194
194
|
if ('verbose' === core_.logger.level) {
|
|
195
|
-
let inspect = ()=>{
|
|
196
|
-
inspectConfig({
|
|
195
|
+
let inspect = async ()=>{
|
|
196
|
+
await inspectConfig({
|
|
197
197
|
context,
|
|
198
198
|
pluginManager,
|
|
199
199
|
inspectOptions: {
|
|
@@ -205,8 +205,8 @@ async function initConfigs({ context, pluginManager, rsbuildOptions, helpers })
|
|
|
205
205
|
helpers
|
|
206
206
|
});
|
|
207
207
|
};
|
|
208
|
-
context.hooks.onBeforeBuild.tap(({ isFirstCompile })=>{
|
|
209
|
-
isFirstCompile && inspect();
|
|
208
|
+
context.hooks.onBeforeBuild.tap(async ({ isFirstCompile })=>{
|
|
209
|
+
isFirstCompile && await inspect();
|
|
210
210
|
}), context.hooks.onAfterStartDevServer.tap(inspect);
|
|
211
211
|
}
|
|
212
212
|
return {
|
|
@@ -319,7 +319,7 @@ let getMainFields = (chain, target)=>{
|
|
|
319
319
|
if (progress) {
|
|
320
320
|
let { ProgressPlugin } = await Promise.all([
|
|
321
321
|
__webpack_require__.e("997"),
|
|
322
|
-
__webpack_require__.e("
|
|
322
|
+
__webpack_require__.e("240")
|
|
323
323
|
]).then(__webpack_require__.bind(__webpack_require__, "./src/progress/ProgressPlugin.ts"));
|
|
324
324
|
chain.plugin(CHAIN_ID.PLUGIN.PROGRESS).use(ProgressPlugin, [
|
|
325
325
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/webpack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-alpha.0",
|
|
4
4
|
"homepage": "https://rsbuild.dev",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"webpack": "^5.97.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@rslib/core": "0.
|
|
36
|
-
"@types/node": "^22.10.
|
|
35
|
+
"@rslib/core": "0.2.2",
|
|
36
|
+
"@types/node": "^22.10.2",
|
|
37
37
|
"ansi-escapes": "4.3.2",
|
|
38
38
|
"cli-truncate": "2.1.0",
|
|
39
39
|
"patch-console": "1.0.0",
|
|
40
40
|
"typescript": "^5.7.2",
|
|
41
|
-
"@rsbuild/core": "1.
|
|
41
|
+
"@rsbuild/core": "1.2.0-alpha.0",
|
|
42
42
|
"@scripts/test-helper": "1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|