diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-03 16:31:58 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-03 16:31:58 -0300 |
commit | eaf65be30153650a5ed201f4df87d0a44baf6356 (patch) | |
tree | 6e1fc02ae76bdaf1975c3a1a3c1e30359f937cc7 /packages/aml-backoffice-ui | |
parent | c0395a2c900ece84a0cb01278c6d9c9d55458679 (diff) |
flat dist folder
Diffstat (limited to 'packages/aml-backoffice-ui')
-rwxr-xr-x | packages/aml-backoffice-ui/build.mjs | 2 | ||||
-rwxr-xr-x | packages/aml-backoffice-ui/dev.mjs | 2 | ||||
-rw-r--r-- | packages/aml-backoffice-ui/src/forms.ts | 21 | ||||
-rw-r--r-- | packages/aml-backoffice-ui/src/index.html | 2 |
4 files changed, 24 insertions, 3 deletions
diff --git a/packages/aml-backoffice-ui/build.mjs b/packages/aml-backoffice-ui/build.mjs index b330f0e94..bd7a088cf 100755 --- a/packages/aml-backoffice-ui/build.mjs +++ b/packages/aml-backoffice-ui/build.mjs @@ -20,7 +20,7 @@ import { build } from "@gnu-taler/web-util/build"; await build({ type: "production", source: { - js: ["src/index.tsx", "src/forms/index.ts"], + js: ["src/index.tsx", "src/forms.ts"], assets: [{ base: "src", files: ["src/index.html"] }], }, destination: "./dist/prod", diff --git a/packages/aml-backoffice-ui/dev.mjs b/packages/aml-backoffice-ui/dev.mjs index 7d963396b..bc6fcd6c1 100755 --- a/packages/aml-backoffice-ui/dev.mjs +++ b/packages/aml-backoffice-ui/dev.mjs @@ -18,7 +18,7 @@ import { serve } from "@gnu-taler/web-util/node"; import { initializeDev } from "@gnu-taler/web-util/build"; -const devEntryPoints = ["src/stories.tsx", "src/index.tsx", "src/forms/index.ts"]; +const devEntryPoints = ["src/stories.tsx", "src/index.tsx", "src/forms.ts"]; const build = initializeDev({ type: "development", diff --git a/packages/aml-backoffice-ui/src/forms.ts b/packages/aml-backoffice-ui/src/forms.ts new file mode 100644 index 000000000..d48faa2b2 --- /dev/null +++ b/packages/aml-backoffice-ui/src/forms.ts @@ -0,0 +1,21 @@ +/* + This file is part of GNU Taler + (C) 2022 Taler Systems S.A. + + GNU Taler is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ + +export * from "./forms/index.js"; + +/** + * this file is here to have a flat dist folder + */
\ No newline at end of file diff --git a/packages/aml-backoffice-ui/src/index.html b/packages/aml-backoffice-ui/src/index.html index 08cf507da..df4615f55 100644 --- a/packages/aml-backoffice-ui/src/index.html +++ b/packages/aml-backoffice-ui/src/index.html @@ -32,7 +32,7 @@ <!-- Optional customization script. --> <script src="exchange-backofice-ui-settings.js"></script> <!-- Entry point for the SPA. --> - <script type="module" src="forms/index.js"></script> + <script type="module" src="forms.js"></script> <script type="module" src="index.js"></script> <link rel="stylesheet" href="index.css" /> </head> |