修改code lint的执行时机

This commit is contained in:
lyswhut
2023-08-29 17:52:24 +08:00
parent 6a91d3eec2
commit 903ca18b75
7 changed files with 83 additions and 239 deletions

View File

@@ -27,11 +27,11 @@ module.exports = {
},
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
},
// {
// test: /\.js$/,
// loader: 'babel-loader',
// exclude: /node_modules/,
// },
{
test: /\.tsx?$/,
exclude: /node_modules/,