Skip to content

Use esbuild bundler #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 16, 2021
Merged

Use esbuild bundler #277

merged 19 commits into from
Apr 16, 2021

Conversation

ije
Copy link
Member

@ije ije commented Apr 15, 2021

  • use esbuild bundler in production mode instaed of swc bundler and terser minify
  • polyfills

@yordis
Copy link

yordis commented Apr 15, 2021

@ije for my personal development, any write-up about this move? I am curious to know the reason behind 🙏🏻

@shadowtime2000
Copy link
Member

Yeah, I am curious too.

@ije
Copy link
Member Author

ije commented Apr 16, 2021

  1. the swc bundler is unstable currently, we need some workarounds to fix somehing strage issues. eg. Bundler exception denoland/deno#9849
  2. currently we need cleancss(or postcss-css-nano) and terser to minify the bundled code, there are huge and slow.
  3. removed a lot of deps from npm (i hope finally we don't need any deps from npm)
  4. each time deno upgrade, the swc bundler always has different problems! include 1.9...
  5. esbuild is super fast

@ije ije marked this pull request as ready for review April 16, 2021 22:08
@ije ije merged commit c25587d into master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants