Novices Performing Miracles

    snowpack-plugin-esbuild

    1.0.0 • Public • Published

    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' ]
            }
          }
        ]
      ]
    }

    Install

    npm i snowpack-plugin-esbuild

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • ker0olos