Skip to content

yamitsushi/esbuild-plugin-external-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esbuild-plugin-external-package

ESbuild plugin that sets all dependencies to external

Installation

npm install esbuild-plugin-external-package --save-dev
pnpm install esbuild-plugin-external-package --save-dev
yarn add esbuild-plugin-external-package --save-dev
import esbuild from "esbuild";
import externalPackage from "esbuild-plugin-external-package";

esbuild.build({
  entryPoints: ["./src/index.js"],
  bundle: true,
  outfile: "./dist/index.js",
  plugins: [externalPackage],
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published