mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: use checker plugin
With it can awesome typescript loader output to console
This commit is contained in:
parent
da0bf634a5
commit
073f8585bd
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
const webpack = require('webpack')
|
||||
const path = require('path')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const UglifyJSWebpackPlugin = require('uglifyjs-webpack-plugin')
|
||||
const { CheckerPlugin } = require('awesome-typescript-loader')
|
||||
const path = require('path')
|
||||
|
||||
const srcPath = path.resolve(__dirname, 'src')
|
||||
const packagesPath = path.resolve(__dirname, 'packages')
|
||||
|
|
@ -18,6 +19,7 @@ const plugins = [
|
|||
},
|
||||
]),
|
||||
new webpack.SourceMapDevToolPlugin({}),
|
||||
new CheckerPlugin(),
|
||||
]
|
||||
|
||||
const IN_PRODUCTION_MODE = process.env.NODE_ENV === 'production'
|
||||
|
|
|
|||
Loading…
Reference in a new issue