diff --git a/tsconfig.json b/tsconfig.json index aedc5e7..421d35a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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}" diff --git a/webpack.config.js b/webpack.config.js index 5cbf025..b3e32d2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -81,7 +81,7 @@ module.exports = { { test: /.tsx?$/, include: [path.resolve(__dirname, "scripts")], - use: ["ts-loader"] + use: ["babel-loader", "ts-loader"] }, { test: /\.scss$/,