esbuild-plugin-global-externals

esbuild plugin for replacing imports with global variables. (by fal-works)

Esbuild-plugin-global-externals Alternatives

Similar projects and alternatives to esbuild-plugin-global-externals

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better esbuild-plugin-global-externals alternative or higher similarity.

esbuild-plugin-global-externals reviews and mentions

Posts with mentions or reviews of esbuild-plugin-global-externals. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-11.
  • Software devs, how have you sped up your workflow?
    4 projects | news.ycombinator.com | 11 Dec 2021
    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

Stats

Basic esbuild-plugin-global-externals repo stats
1
38
3.6
almost 3 years ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com