diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-05 08:38:28 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-05 08:52:58 -0300 |
commit | b64bb455a2d51f7e19e517c0bd158ff7d7d9557f (patch) | |
tree | 3a91ee40c5ac4b355d2ef33965a9bc2dfd1ef275 /packages/merchant-backoffice-ui/build.mjs | |
parent | e90991973c359f1aca5bd34b3344e0295dae0c5d (diff) | |
download | wallet-core-b64bb455a2d51f7e19e517c0bd158ff7d7d9557f.tar.xz |
update to new web-utils imports
Diffstat (limited to 'packages/merchant-backoffice-ui/build.mjs')
-rwxr-xr-x | packages/merchant-backoffice-ui/build.mjs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/build.mjs b/packages/merchant-backoffice-ui/build.mjs index 4a71278ef..10414fa7f 100755 --- a/packages/merchant-backoffice-ui/build.mjs +++ b/packages/merchant-backoffice-ui/build.mjs @@ -15,6 +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"]) +await build({ + source: { + js: ["src/index.tsx"], + assets: ["src/index.html"], + }, + destination: "./dist/prod", + css: "sass", +}); |