Comments (3)
Already Done your can run bun build script.ts --compile
for more check out the docs
https://bun.sh/docs/bundler#executables
from bun.
Already Done your can run bun build script.ts --compile for more check out the docs https://bun.sh/docs/bundler#executables
That one is just making a standalone. What I meant was AOT compilation of JavaScript to Machine code at build time.
from bun.
Bun supports compiling your application into a binary, but it does not do AOT to machine code. Bun is able to leverage the JIT in JavaScriptCore, which is still fast.
from bun.
Related Issues (20)
- "." cannot be parsed as a URL (URL contructor) HOT 4
- Implement method `createHistrogram` and class `Histogram` for module `perf_hooks` HOT 1
- Nuxt SIGSEGV error HOT 5
- `bun build` adding both `mjs` and `js` for dependencies distributed with both CommonJS and ESModule files
- Bundler panics when trying to pass a non-javascript file as an entrypoint
- Bun does not expand environment variables in bunfig.toml
- TypeError: null is not an object at readableStreamCancel
- Function.toString() omits function name in output HOT 1
- Dependency version mismatch in Vite 5.2.0+ with Bun installer
- Typed .env HOT 2
- add flags to --watch and --hot
- Bun doesnt pick changes in monorepos packages
- Allow concurrent tests with bun test
- [Bun.serve] should allow status is 103 HOT 1
- Misleading websocket benchmark HOT 6
- When importing txt files, "\n"s in the txt file are converted to newline
- Bun closed unexpectedly when working on stream HOT 2
- Hot reload for spawned processes
- `bun test` ignores `silent` option HOT 2
- When using bun to build a binary file, the Chinese key in the js object will be garbled. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.