snowpack-plugin-esbuild
v1.0.0
Published
Snowpack plugin for esbuild
Downloads
4
Maintainers
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' ]
}
}
]
]
}