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.
@@ -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({ inlineDynamicImports: true });
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({ inlineDynamicImports: true });
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-B-lzI2ff.mjs");
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("/");
@@ -0,0 +1,3 @@
1
+ import { n as performBuild, t as build } from "./build-DbAuaVYJ.mjs";
2
+
3
+ export { performBuild };
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  name: "robuild",
4
4
  type: "module",
5
- version: "0.0.20",
5
+ version: "0.1.0",
6
6
  packageManager: "pnpm@10.11.1",
7
7
  description: "Zero-config ESM/TS package builder. Powered by Rolldown and Oxc",
8
8
  license: "MIT",
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-ZNO1BJMb.mjs";
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-ZNO1BJMb.mjs";
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "robuild",
3
3
  "type": "module",
4
- "version": "0.0.20",
4
+ "version": "0.1.0",
5
5
  "packageManager": "pnpm@10.11.1",
6
6
  "description": "Zero-config ESM/TS package builder. Powered by Rolldown and Oxc",
7
7
  "license": "MIT",
@@ -1,3 +0,0 @@
1
- import { n as performBuild, t as build } from "./build-ZNO1BJMb.mjs";
2
-
3
- export { performBuild };