Use a typescript webpack config
This commit is contained in:
@ -23,7 +23,8 @@
|
||||
"tests",
|
||||
"**/_*",
|
||||
"demo",
|
||||
"scripts"
|
||||
"scripts",
|
||||
"webpack.config.ts"
|
||||
],
|
||||
"typedocOptions": {
|
||||
"mode": "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/],
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user