aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-webui')
-rwxr-xr-xpackages/anastasis-webui/build.mjs1
-rwxr-xr-xpackages/anastasis-webui/dev.mjs1
-rwxr-xr-xpackages/anastasis-webui/test.mjs1
3 files changed, 3 insertions, 0 deletions
diff --git a/packages/anastasis-webui/build.mjs b/packages/anastasis-webui/build.mjs
index 9d49a63ee..3a6234901 100755
--- a/packages/anastasis-webui/build.mjs
+++ b/packages/anastasis-webui/build.mjs
@@ -17,6 +17,7 @@
import { build } from "@gnu-taler/web-util/build";
await build({
+ type: "production",
source: {
js: ["src/index.ts"],
assets: ["src/index.html"],
diff --git a/packages/anastasis-webui/dev.mjs b/packages/anastasis-webui/dev.mjs
index 32f380e86..c7fa7b611 100755
--- a/packages/anastasis-webui/dev.mjs
+++ b/packages/anastasis-webui/dev.mjs
@@ -21,6 +21,7 @@ import { initializeDev } from "@gnu-taler/web-util/build";
const devEntryPoints = ["src/stories.tsx", "src/index.ts"];
const build = initializeDev({
+ type: "development",
source: {
js: devEntryPoints,
assets: ["src/index.html"],
diff --git a/packages/anastasis-webui/test.mjs b/packages/anastasis-webui/test.mjs
index 746c053cb..7a517fd5f 100755
--- a/packages/anastasis-webui/test.mjs
+++ b/packages/anastasis-webui/test.mjs
@@ -20,6 +20,7 @@ import { getFilesInDirectory } from "@gnu-taler/web-util/build";
const allTestFiles = getFilesInDirectory("src", /.test.tsx?$/);
await build({
+ type: "test",
source: {
js: allTestFiles,
assets: ["src/index.html"],