aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/demobank-ui/build.mjs')
-rwxr-xr-xpackages/demobank-ui/build.mjs12
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/demobank-ui/build.mjs b/packages/demobank-ui/build.mjs
index a89b9742f..028f39b32 100755
--- a/packages/demobank-ui/build.mjs
+++ b/packages/demobank-ui/build.mjs
@@ -15,7 +15,13 @@
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
- import { buildProd } from "@gnu-taler/web-util/lib/index.build"
+import { build } from "@gnu-taler/web-util/build";
- await buildProd(["src/index.tsx"])
- \ No newline at end of file
+await build({
+ source: {
+ js: ["src/index.tsx"],
+ assets: ["src/index.html"],
+ },
+ destination: "./dist/prod",
+ css: "sass",
+});