Notoriously Pedantic Magistrate

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

    2.11.3-alpha.1 • Public • Published

    @stringke/sigi-ts-plugin

    Usage

    // webpack.config.js
    const { SigiTransformer } = require('@stringke/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/,
          },
        ],
      },
      // ...
    }

    Install

    npm i @stringke/sigi-ts-plugin

    Homepage

    sigi.how

    DownloadsWeekly Downloads

    3

    Version

    2.11.3-alpha.1

    License

    MIT

    Unpacked Size

    46.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • stringke