Comments (3)
many places in the current code have markers for this.
most of the work for this would be to just copy esbuild's implementation and port into zig
from bun.
Out of curiosity, is this something you can do in esbuild
?
from bun.
Valid point. Yes. Still it would have comments left, and some JS is not minified but just by using --compile.
bun esbuild src/main.ts --bundle --outfile=server-minified --platform=node --format=esm --minify --legal-comments=none
bun bun ./server-minified --compile --outfile=server
from bun.
Related Issues (20)
- may bun will auto stop my sync work?
- [win][fs] Some functions do not support tailing dot `"."` and space `" "` in a filename HOT 4
- ccxt freezing
- Module._resolveLookupPaths is not a function | dd-trace
- bun test --test-name-pattern is broken
- Bun.readableStreamToArrayBuffer() doesn't resolve to an ArrayBuffer when Bun.stdin.stream() is passed HOT 3
- spawnSync() does not honor "inherit" after position 2 in stdio HOT 2
- Type error when using arrays in bun shell HOT 3
- spawn: ssh-keyscan: fdlim_get: bad value
- `readline` module yields wrong and incomplete values with a bad performance (compared to NodeJS) HOT 2
- [win] Debugging/running on VSCode on Windows doesn't work HOT 2
- `ServerResponse.setHeader` does not set header during `bun test`
- JS Setter is written as `Getter` in console.log HOT 1
- bun install not working on github action HOT 2
- discord.js bot memory usage 6x higher and climbing with switch from Node to Bun HOT 5
- Bun Shell $: line by line stderr output HOT 4
- Encountered Watchpack Error (watcher): Error: AccessDenied error on Ubuntu 22.04.3
- bun: symbol lookup error (undefined symbol: node_module_register) HOT 1
- `bun install` exits with `0` when not all packages could be installed HOT 2
- Fetching from Sveltekit SSR drops all headers while running Vite dev server
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.