@sigi/ts-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.13.0 • Public • Published

@sigi/ts-plugin

Usage

// webpack.config.js
const { SigiTransformer } = require('@sigi/ts-plugin')

module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /\.(jsx|tsx|js|ts)$/,
        loader: 'ts-loader',
        options: {
          transpileOnly: true,
          getCustomTransformers: () => ({
            before: [SigiTransformer],
          }),
          compilerOptions: {
            module: 'esnext',
          },
        },
        exclude: /node_modules/,
      },
    ],
  },
  // ...
}

Package Sidebar

Install

npm i @sigi/ts-plugin

Homepage

sigi.how

Weekly Downloads

84

Version

2.13.0

License

MIT

Unpacked Size

94.1 kB

Total Files

29

Last publish

Collaborators

  • broooooklyn
  • forehalo