robuild 0.1.13 → 0.1.14

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.
@@ -1496,6 +1496,7 @@ async function rolldownBuild(ctx, entry, hooks, config) {
1496
1496
  const formatOutDir = fullOutDir;
1497
1497
  let entryFileName = `[name]${extension}`;
1498
1498
  if (entry.fileName) entryFileName = entry.fileName;
1499
+ else if (entry.outExtensions) entryFileName = `[name].${applyOutExtensions(format, entry.outExtensions).js}`;
1499
1500
  else if (isMultiFormat) {
1500
1501
  if (format === "cjs" || format === "commonjs") entryFileName = `[name].cjs`;
1501
1502
  else if (format === "es" || format === "esm" || format === "module") entryFileName = `[name].mjs`;
@@ -2268,7 +2269,7 @@ function createBuildResult(entries, startTime) {
2268
2269
  * Perform watch build using rolldown's built-in watch mode
2269
2270
  */
2270
2271
  async function performWatchBuild(config, ctx, startTime) {
2271
- const { performBuild } = await import("./build-BdC3yali.mjs");
2272
+ const { performBuild } = await import("./build-ogb8L7fk.mjs");
2272
2273
  await performBuild(config, ctx, startTime);
2273
2274
  const bundleEntries = (config.entries || []).filter((entry) => {
2274
2275
  if (typeof entry === "string") return !entry.endsWith("/");
@@ -2288,7 +2289,7 @@ async function performWatchBuild(config, ctx, startTime) {
2288
2289
  */
2289
2290
  async function startRolldownWatch(config, ctx, bundleEntries) {
2290
2291
  logger.info("Watching for changes...");
2291
- const { inheritConfig } = await import("./build-BdC3yali.mjs");
2292
+ const { inheritConfig } = await import("./build-ogb8L7fk.mjs");
2292
2293
  const watchConfigs = [];
2293
2294
  for (const rawEntry of bundleEntries) {
2294
2295
  let entry = typeof rawEntry === "string" ? parseEntryString(rawEntry) : rawEntry;
@@ -1,3 +1,3 @@
1
- import { n as inheritConfig, r as performBuild, t as build } from "./build-KdFkw9tq.mjs";
1
+ import { n as inheritConfig, r as performBuild, t as build } from "./build-B3vdIgJO.mjs";
2
2
 
3
3
  export { inheritConfig, performBuild };
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  name: "robuild",
4
4
  type: "module",
5
- version: "0.1.13",
5
+ version: "0.1.14",
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 { _ as configureLogger, t as build, v as logger } from "./_chunks/build-KdFkw9tq.mjs";
2
+ import { _ as configureLogger, t as build, v as logger } from "./_chunks/build-B3vdIgJO.mjs";
3
3
  import module from "node:module";
4
4
  import { colors } from "consola/utils";
5
5
  import process from "node:process";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { S as resolveCssOptions, a as createSkipNodeModulesPlugin, b as createLightningCSSPlugin, c as createNodeShimsPlugin, d as hasShebang, f as makeExecutable, g as hasGlobImports, h as createGlobImportPlugin, i as RobuildPluginManager, l as createShimsPlugin, m as nodeProtocolPlugin, o as DEFAULT_SHIMS_CONFIG, p as shebangPlugin, s as createBrowserShimsPlugin, t as build, u as SHEBANG_RE, v as logger, x as esbuildTargetToLightningCSS, y as createCssCodeSplitPlugin } from "./_chunks/build-KdFkw9tq.mjs";
1
+ import { S as resolveCssOptions, a as createSkipNodeModulesPlugin, b as createLightningCSSPlugin, c as createNodeShimsPlugin, d as hasShebang, f as makeExecutable, g as hasGlobImports, h as createGlobImportPlugin, i as RobuildPluginManager, l as createShimsPlugin, m as nodeProtocolPlugin, o as DEFAULT_SHIMS_CONFIG, p as shebangPlugin, s as createBrowserShimsPlugin, t as build, u as SHEBANG_RE, v as logger, x as esbuildTargetToLightningCSS, y as createCssCodeSplitPlugin } from "./_chunks/build-B3vdIgJO.mjs";
2
2
  import { t as defineConfig } from "./_chunks/config-BGTiuDLt.mjs";
3
3
  import { extname } from "node:path";
4
4
  import { readFile } from "node:fs/promises";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "robuild",
3
3
  "type": "module",
4
- "version": "0.1.13",
4
+ "version": "0.1.14",
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",