esbuild-plugin-global-externals
esbuild-plugins
esbuild-plugin-global-externals | esbuild-plugins | |
---|---|---|
1 | 1 | |
38 | 107 | |
- | 0.0% | |
3.6 | 4.2 | |
almost 3 years ago | about 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
esbuild-plugin-global-externals
-
Software devs, how have you sped up your workflow?
The only thing that tripped me up was the difference between esbuild's `externals` and webpack's `externals`. In webpack you can use the externals config to skip bundling a module and instead get it from another source such as a Node module or, in my case, from a global variable in the browser. In esbuild, an external module is only for the first situation (getting a module from Node instead of bundling it), so I was confused about how I can transfer the desired behavior over to esbuild. Luckily I found a plugin that does exactly what I want: [0].
Other than that, I'm pretty darn satisfied with what esbuild can do out of the box. I don't use any other plugins except global externals, and I don't find myself missing anything from webpack. So far it's just better in every way (for myself at least).
[0]: https://github.com/fal-works/esbuild-plugin-global-externals
esbuild-plugins
-
Using Nx for React and Typescript Monorepos
I was able to find a plugin to generate projects with esbuild setup — but it only worked for Node apps (not React component libraries).
What are some alternatives?
esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️
vite-plugin-cloudflare - 🔥 Easier and better experience writing Cloudflare workers in Vite
dotfiles - @holman does dotfiles
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
esbuild-plugin-prismjs - A PrismJS plugin for esbuild. Bundle the language and plugins set in the configuration at build time. The same options as babel-plugin-prismjs are available.
nxrocks - Set of Nx plugins to enhance your Nx workspace (even more!)
autojump - A cd command that learns - easily navigate directories from the command line
Codetree - ⚡️ Lightning fast off-on/line code playground, built with ♥️ on top of webAssembly.
dotfiles - :wrench: .files, including ~/.macos — sensible hacker defaults for macOS
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
esbuild-plugins - Collection of useful esbuild js plugins