diff --git a/tsconfig.json b/tsconfig.json index 59d86f2400..a2d4c199ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,7 +23,8 @@ "tests", "**/_*", "demo", - "scripts" + "scripts", + "webpack.config.ts" ], "typedocOptions": { "mode": "file", diff --git a/webpack.config.js b/webpack.config.ts similarity index 94% rename from webpack.config.js rename to webpack.config.ts index 40ec0b0d23..ce1455ac50 100644 --- a/webpack.config.js +++ b/webpack.config.ts @@ -1,4 +1,4 @@ -const path = require("path"); +import * as path from "path"; module.exports = { entry: "./src/index.ts", @@ -27,7 +27,7 @@ module.exports = { loader: "istanbul-instrumenter-loader", enforce: "post", exclude: [/node_modules/], - } + }, ], },