Use babel for transpile

This commit is contained in:
Basix 2020-01-22 00:46:11 +09:00
parent ccf18d2ba2
commit 299b25a9c4
2 changed files with 4 additions and 3 deletions

View File

@ -1,11 +1,12 @@
{
"compilerOptions": {
"module": "es6",
"module": "esnext",
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"strict": true
"strict": true,
"target": "esnext"
},
"include": [
"src/**/*.{ts,tsx}"

View File

@ -81,7 +81,7 @@ module.exports = {
{
test: /.tsx?$/,
include: [path.resolve(__dirname, "scripts")],
use: ["ts-loader"]
use: ["babel-loader", "ts-loader"]
},
{
test: /\.scss$/,