update configs

This commit is contained in:
Tamius Han 2021-02-08 22:45:41 +01:00
parent efefa4ef32
commit d9053e26b5
3 changed files with 6 additions and 5 deletions

View File

@ -6,9 +6,9 @@
["@babel/preset-env", {
"useBuiltIns": false,
"targets": {
"esmodules": true,
},
}],
"esmodules": true
}
}]
]
}
// {

View File

@ -2,7 +2,7 @@
"compilerOptions": {
"outDir": "./ts-out",
"allowJs": true,
"target": "es2020"
"target": "es2018"
},
"include": [ "./src/**/*" ]
}

View File

@ -35,8 +35,9 @@ const config = {
module: {
rules: [
{
test: /\.tsx?$/,
test: /\.ts$/,
loader: 'ts-loader',
exclude: /node_modules/
},
{
test: /\.vue$/,