Skip to content

shiftx/esbuild-plugin-pnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esbuild-plugin-pnp

Experimental support for using esbuild with yarn pnp. Tested with esbuild 0.8.1

Usage

const { build } = require("esbuild");
const pnpPlugin = require("esbuild-plugin-pnp");

build({
  entryPoints: ["index.ts"],
  bundle: true,
  outfile: "out.js",
  plugins: [pnpPlugin()],
}).catch(err => {
  console.log(err);
  process.exit(1);
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published