html: add tslint to webpack

This commit is contained in:
Shuanglei Tao
2019-05-17 11:21:33 +08:00
parent ccea4d2cfa
commit 2aa2035195
8 changed files with 315 additions and 98 deletions

View File

@@ -12,6 +12,11 @@ module.exports = {
},
module: {
rules: [
{
test: /\.ts$/,
enforce: 'pre',
use: 'tslint-loader',
},
{
test: /\.tsx?$/,
use: 'ts-loader',