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", "tests",
"**/_*", "**/_*",
"demo", "demo",
"scripts" "scripts",
"webpack.config.ts"
], ],
"typedocOptions": { "typedocOptions": {
"mode": "file", "mode": "file",

View File

@ -1,4 +1,4 @@
const path = require("path"); import * as path from "path";
module.exports = { module.exports = {
entry: "./src/index.ts", entry: "./src/index.ts",
@ -27,7 +27,7 @@ module.exports = {
loader: "istanbul-instrumenter-loader", loader: "istanbul-instrumenter-loader",
enforce: "post", enforce: "post",
exclude: [/node_modules/], exclude: [/node_modules/],
} },
], ],
}, },