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
1 changed files with 7 additions and 1 deletions
|
@ -13,7 +13,13 @@ let generator = (env: any, argv: any): Configuration[] =>
|
||||||
target: "web",
|
target: "web",
|
||||||
mode: env.production ? "production" : "development",
|
mode: env.production ? "production" : "development",
|
||||||
entry: {
|
entry: {
|
||||||
main: "./src/index.ts"
|
main: "./src/index.ts",
|
||||||
|
...(
|
||||||
|
env.production ?
|
||||||
|
{} :
|
||||||
|
{
|
||||||
|
"tests/main.test": "./src/tests/main.test.ts"
|
||||||
|
})
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: "[name].js",
|
filename: "[name].js",
|
||||||
|
|
Loading…
Reference in a new issue