esbuild-plugin-global-externals
esbuild-plugin-prismjs
esbuild-plugin-global-externals | esbuild-plugin-prismjs | |
---|---|---|
1 | 1 | |
38 | 3 | |
- | - | |
3.6 | 0.0 | |
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-plugin-prismjs
-
I made a prismjs plugin for esbuild.
We have created a plugin that allows you to use the same settings when migrating from prismjs + webpack + babel to prismjs + esbuild. It's easy to use because you just need to migrate the language and plugin information set in .babelrc to the optional arguments of the new plugin. https://github.com/activeguild/esbuild-plugin-prismjs
What are some alternatives?
esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️
estrella - Lightweight and versatile build tool based on the esbuild compiler
esbuild-plugins - ESBuild plugins by @LinbuduLab
typescript-boilerplate - A modern TypeScript project setup, for Node.js and browsers
dotfiles - @holman does dotfiles
autojump - A cd command that learns - easily navigate directories from the command line
dotfiles - :wrench: .files, including ~/.macos — sensible hacker defaults for macOS
esbuild-plugins - Collection of useful esbuild js plugins