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