4 ms·
can bun be used for front-end? i.e. to replace create-react-app + Webpack + etc
by cdelsolar 4y ago
can bun be used for front-end? i.e. to replace create-react-app + Webpack + etc
- madeofpalk 4y agoTo replace webpack? I don’t think that makes sense. Bun is not a JavaScript bundler, it’s a JavaScript runtime, like NodeJS or Firefox. You can (could, theoretically) run webpack with bun instead of node
- iamgopal 4y agoMeans, in future, will there be a browser?
- madeofpalk 4y agoA bun browser? Bun is like NodeJS. There is no ‘node browser’ Bun uses JavaScriptCore from WebKit/Safari, similar to how Node uses V8 from Chrome
- reducesuffering 4y agoI thought I read that v0.6 will include Vite support, so you'll be able to do a SPA front-end with Vite + Bun.