@miyucy/ts-checker-webpack-plugin

Runs typescript type checker on threads.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
312May 10, 2021Aug 31, 2018Minified + gzip package size for @miyucy/ts-checker-webpack-plugin in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.