You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a project using bun create vue the generated readme contains the following instructions to run bun build in order to compile and minify the project.
### Compile and Minify for Production
```sh
bun build
```
But trying to run this gives a confusing error message
> bun build
bun build v1.1.34 (5e5e7c60)
error: Missing entrypoints. What would you like to bundle?
Usage:
$ bun build <entrypoint> [...<entrypoints>] [...flags]
To see full documentation:
$ bun build --help
This doesn't work because Bun has a built-in build command which gets executed instead of the build script defined in package.json.
Expected behavior
The generated readme uses bun run build instead, as this will run the build script instead of the built-in bun bundler.
How to reproduce
Run bun create vue
Accept all defaults
Observe that vue-project/README.md mentions using bun build instead of bun run build
Observe that running bun build gives an error message instead of invoking the build script.
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating a project using
bun create vue
the generated readme contains the following instructions to runbun build
in order to compile and minify the project.But trying to run this gives a confusing error message
This doesn't work because Bun has a built-in
build
command which gets executed instead of thebuild
script defined in package.json.Expected behavior
The generated readme uses
bun run build
instead, as this will run the build script instead of the built-in bun bundler.How to reproduce
bun create vue
bun build
instead ofbun run build
bun build
gives an error message instead of invoking the build script.The text was updated successfully, but these errors were encountered: