Use a typescript webpack config

This commit is contained in:
Dolan Miu
2019-01-16 13:34:32 +00:00
parent 41eeac1b05
commit b22f565dd0
2 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,8 @@
"tests",
"**/_*",
"demo",
"scripts"
"scripts",
"webpack.config.ts"
],
"typedocOptions": {
"mode": "file",

View File

@ -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/],
}
},
],
},