mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: do type check
How could babel give up on this
This commit is contained in:
parent
63fd30f982
commit
419efeb23c
2 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,7 @@
|
|||
"eslint": "^5.15.0",
|
||||
"eslint-plugin-babel": "^5.1.0",
|
||||
"file-loader": "^3.0.1",
|
||||
"fork-ts-checker-webpack-plugin": "^0.5.2",
|
||||
"fsevents": "^1.2.4",
|
||||
"json-loader": "^0.5.7",
|
||||
"less": "^3.9.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
const webpack = require('webpack')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
|
||||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
const path = require('path')
|
||||
|
||||
|
|
@ -17,6 +18,7 @@ const plugins = [
|
|||
to: 'icons/[name].[ext]',
|
||||
},
|
||||
]),
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
new webpack.SourceMapDevToolPlugin({}),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue