Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miyucy/ts-checker-webpack-plugin
https://github.com/miyucy/ts-checker-webpack-plugin
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/miyucy/ts-checker-webpack-plugin
- Owner: miyucy
- Created: 2018-08-31T01:49:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T19:32:20.000Z (almost 2 years ago)
- Last Synced: 2024-09-23T10:18:27.941Z (about 1 month ago)
- Language: TypeScript
- Size: 1.33 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-checker-webpack-plugin
Runs typescript type checker on threads.
## Usage
```bash
yarn add @miyucy/ts-checker-webpack-plugin
``````js
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
```bash
git clone [this repo]
cd [repo]
yarn install
yarn buildcd examples/prj1
yarn install
yarn build
```