diff options
Diffstat (limited to 'packages/merchant-backoffice-ui')
-rwxr-xr-x | packages/merchant-backoffice-ui/build.mjs | 1 | ||||
-rwxr-xr-x | packages/merchant-backoffice-ui/dev.mjs | 1 | ||||
-rwxr-xr-x | packages/merchant-backoffice-ui/test.mjs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/packages/merchant-backoffice-ui/build.mjs b/packages/merchant-backoffice-ui/build.mjs index 10414fa7f..24bdef3b5 100755 --- a/packages/merchant-backoffice-ui/build.mjs +++ b/packages/merchant-backoffice-ui/build.mjs @@ -18,6 +18,7 @@ import { build } from "@gnu-taler/web-util/build"; await build({ + type: "production", source: { js: ["src/index.tsx"], assets: ["src/index.html"], diff --git a/packages/merchant-backoffice-ui/dev.mjs b/packages/merchant-backoffice-ui/dev.mjs index a42311bad..2c0ec99f7 100755 --- a/packages/merchant-backoffice-ui/dev.mjs +++ b/packages/merchant-backoffice-ui/dev.mjs @@ -21,6 +21,7 @@ import { initializeDev } from "@gnu-taler/web-util/build"; const devEntryPoints = ["src/stories.tsx", "src/index.tsx"]; const build = initializeDev({ + type: "development", source: { js: devEntryPoints, assets: ["src/index.html"], diff --git a/packages/merchant-backoffice-ui/test.mjs b/packages/merchant-backoffice-ui/test.mjs index 20a95fe61..5649a4db6 100755 --- a/packages/merchant-backoffice-ui/test.mjs +++ b/packages/merchant-backoffice-ui/test.mjs @@ -21,6 +21,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"], |