JSPM

snowpack-plugin-esbuild

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q15289F
  • License MIT

Snowpack plugin for esbuild

Package Exports

  • snowpack-plugin-esbuild
  • snowpack-plugin-esbuild/plugin.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (snowpack-plugin-esbuild) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

snowpack-plugin-esbuild

npm install snowpack-plugin-esbuild --save-dev
// snowpack.config.mjs
{
  plugins: [
    [
      // ...
      'snowpack-plugin-esbuild',
      {
        input: ['.js', '.mjs', '.jsx', '.ts', '.tsx'],
        // https://esbuild.github.io/api/#simple-options
        options: {
          loader: 'jsx'
          target: [ 'es6' ]
        }
      }
    ]
  ]
}