0.1.6 • Published 2 years ago

esbuild-plugin-noexternal v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

esbuild-plugin-noexternal

Will mark all npm packages as "external", except the ones passed to this plugin. Kinda like Vite's noExternal option.

npm i -D esbuild-plugin-noexternal
import esbuild from 'esbuild';
import externalizeAllPackagesExcept from 'esbuild-plugin-noexternal';

esbuild.build({
	// ...
	bundle: true,
	plugins: [externalizeAllPackagesExcept(['nanoid', 'slash' /*...*/])],
});
0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago