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

1.0.3 • Public • Published

ts-checker-webpack-plugin

Runs typescript type checker on threads.

Usage

yarn add @miyucy/ts-checker-webpack-plugin
const TsCheckerPlugin = require("@miyucy/ts-checker-webpack-plugin").default;

module.exports = {
  // :
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        use: [
          {
            loader: "ts-loader",
            options: {
              transpileOnly: true
            }
          }
        ]
      }
    ]
  }
  // :
  plugins: [
    new TsCheckerPlugin()
  ]
};

Examples

git clone [this repo]
cd [repo]
yarn install
yarn build

cd examples/prj1
yarn install
yarn build

/@miyucy/ts-checker-webpack-plugin/

    Package Sidebar

    Install

    npm i @miyucy/ts-checker-webpack-plugin

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    20.8 kB

    Total Files

    18

    Last publish

    Collaborators

    • miyucy