nuxt-bun-compile 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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-bun-compile",
3
3
  "configKey": "bunCompile",
4
- "version": "0.1.13",
4
+ "version": "0.1.14",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -47,6 +47,8 @@ const module$1 = defineNuxtModule({
47
47
  nitroConfig.esbuild.options = nitroConfig.esbuild.options || {};
48
48
  nitroConfig.esbuild.options.target = "esnext";
49
49
  const allExternals = [...DEFAULT_EXTERNALS, ...options.extraExternals];
50
+ nitroConfig.commands = nitroConfig.commands || {};
51
+ nitroConfig.commands.preview = `./${options.outfile}`;
50
52
  nitroConfig.rollupConfig = nitroConfig.rollupConfig || {};
51
53
  const existing = nitroConfig.rollupConfig.external;
52
54
  if (Array.isArray(existing)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-bun-compile",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Nuxt module that automatically configures Nitro for `bun build --compile`, generating a standalone executable binary from your Nuxt app.",
5
5
  "repository": "jprando/nuxt-bun-compile",
6
6
  "license": "MIT",