Compile mocha test files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
16453d44a7
commit
a409ebb160
|
@ -13,7 +13,13 @@ let generator = (env: any, argv: any): Configuration[] =>
|
|||
target: "web",
|
||||
mode: env.production ? "production" : "development",
|
||||
entry: {
|
||||
main: "./src/index.ts"
|
||||
main: "./src/index.ts",
|
||||
...(
|
||||
env.production ?
|
||||
{} :
|
||||
{
|
||||
"tests/main.test": "./src/tests/main.test.ts"
|
||||
})
|
||||
},
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
|
|
Loading…
Reference in a new issue