[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] branch master updated: bulid single with mer
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] branch master updated: bulid single with merchant backend |
Date: |
Mon, 30 Aug 2021 15:44:31 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant-backoffice.
The following commit(s) were added to refs/heads/master by this push:
new 80e45b0 bulid single with merchant backend
80e45b0 is described below
commit 80e45b024af196eaf97bbcdbc10118ada74c42ee
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 30 10:44:14 2021 -0300
bulid single with merchant backend
---
build-system/Makefile | 3 ++-
packages/backend/rollup.config.js | 13 +++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/build-system/Makefile b/build-system/Makefile
index cf3c157..7702683 100644
--- a/build-system/Makefile
+++ b/build-system/Makefile
@@ -37,7 +37,8 @@ build:
.PHONY: build
build-single:
pnpm run build-single --filter merchant-backoffice
- @echo Build done, result at: 'packages/frontend/single/index.html'
+ pnpm run build --filter merchant-backend
+ @echo Build done, result at: 'packages/frontend/single/index.html'
packages/backend/dist/pages/*html
.PHONY: submodules-update
submodules-update:
diff --git a/packages/backend/rollup.config.js
b/packages/backend/rollup.config.js
index fd8da74..aeb6077 100644
--- a/packages/backend/rollup.config.js
+++ b/packages/backend/rollup.config.js
@@ -24,6 +24,7 @@ import ts from "@rollup/plugin-typescript";
import replace from "@rollup/plugin-replace";
import css from 'rollup-plugin-css-only';
import html from '@rollup/plugin-html';
+import commonjs from "@rollup/plugin-commonjs";
@@ -42,9 +43,10 @@ const template = async ({
<title>${title}</title>
${css}
</head>
- <script id="built_time_data" />
+ <script id="built_time_data">
+ </script>
<body>
- <div id="built_time_data"/>
+ <div id="built_time_data" />
<div id="container_without_js">
${page}
</div>
@@ -68,6 +70,13 @@ const makePlugins = (name) => [
preventAssignment: true,
}),
+ commonjs({
+ include: [/node_modules/, /dist/],
+ extensions: [".js"],
+ ignoreGlobal: true,
+ sourceMap: true,
+ }),
+
nodeResolve({
browser: true,
preferBuiltins: true,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant-backoffice] branch master updated: bulid single with merchant backend,
gnunet <=