robuild 0.0.20 → 0.1.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/_chunks/{build-ZNO1BJMb.mjs → build-DbAuaVYJ.mjs} +3 -3
- package/dist/_chunks/build-tpynh1ZI.mjs +3 -0
- package/dist/_chunks/{package-CspMOSID.mjs → package-05zYHSH0.mjs} +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/_chunks/build-B-lzI2ff.mjs +0 -3
|
@@ -334,7 +334,7 @@ async function distSize(dir, entry) {
|
|
|
334
334
|
plugins: [],
|
|
335
335
|
platform: "neutral",
|
|
336
336
|
external: (id) => id[0] !== "." && !id.startsWith(dir)
|
|
337
|
-
})).generate({
|
|
337
|
+
})).generate({ codeSplitting: false });
|
|
338
338
|
const code = output[0].code;
|
|
339
339
|
const { code: minified } = await minify(entry, code);
|
|
340
340
|
return {
|
|
@@ -361,7 +361,7 @@ async function sideEffectSize(dir, entry) {
|
|
|
361
361
|
if (id === "#entry") return `import * as _lib from "${join(dir, entry)}";`;
|
|
362
362
|
}
|
|
363
363
|
}]
|
|
364
|
-
})).generate({
|
|
364
|
+
})).generate({ codeSplitting: false });
|
|
365
365
|
if (process.env.INSPECT_BUILD) {
|
|
366
366
|
logger.debug("---------[side effects]---------");
|
|
367
367
|
logger.debug(entry);
|
|
@@ -1568,7 +1568,7 @@ function convertExternal(external) {
|
|
|
1568
1568
|
* Perform watch build using rolldown's built-in watch mode
|
|
1569
1569
|
*/
|
|
1570
1570
|
async function performWatchBuild(config, ctx, startTime) {
|
|
1571
|
-
const { performBuild } = await import("./build-
|
|
1571
|
+
const { performBuild } = await import("./build-tpynh1ZI.mjs");
|
|
1572
1572
|
await performBuild(config, ctx, startTime);
|
|
1573
1573
|
const bundleEntries = (config.entries || []).filter((entry) => {
|
|
1574
1574
|
if (typeof entry === "string") return !entry.endsWith("/");
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as configureLogger, l as logger, t as build } from "./_chunks/build-
|
|
2
|
+
import { c as configureLogger, l as logger, t as build } from "./_chunks/build-DbAuaVYJ.mjs";
|
|
3
3
|
import { colors } from "consola/utils";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { loadConfig } from "c12";
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as makeExecutable, i as hasShebang, l as logger, o as shebangPlugin, r as SHEBANG_RE, s as nodeProtocolPlugin, t as build } from "./_chunks/build-
|
|
1
|
+
import { a as makeExecutable, i as hasShebang, l as logger, o as shebangPlugin, r as SHEBANG_RE, s as nodeProtocolPlugin, t as build } from "./_chunks/build-DbAuaVYJ.mjs";
|
|
2
2
|
import { defineConfig } from "./config.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/features/plugin-utils.ts
|
package/package.json
CHANGED