0.1.6 • Published 1 year ago

esbuild-plugin-noexternal v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago