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", { ["@babel/preset-env", {
"useBuiltIns": false, "useBuiltIns": false,
"targets": { "targets": {
"esmodules": true, "esmodules": true
}, }
}], }]
] ]
} }
// { // {

View File

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

View File

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