diff options
Diffstat (limited to 'packages/exchange-backoffice-ui')
-rwxr-xr-x | packages/exchange-backoffice-ui/build.mjs | 2 | ||||
-rwxr-xr-x | packages/exchange-backoffice-ui/dev.mjs | 2 | ||||
-rwxr-xr-x | packages/exchange-backoffice-ui/test.mjs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/exchange-backoffice-ui/build.mjs b/packages/exchange-backoffice-ui/build.mjs index fd50c63c3..ae38c193d 100755 --- a/packages/exchange-backoffice-ui/build.mjs +++ b/packages/exchange-backoffice-ui/build.mjs @@ -21,7 +21,7 @@ await build({ type: "production", source: { js: ["src/index.tsx"], - assets: ["src/index.html"], + assets: [{base:"src",files:["src/index.html"]}], }, destination: "./dist/prod", css: "postcss", diff --git a/packages/exchange-backoffice-ui/dev.mjs b/packages/exchange-backoffice-ui/dev.mjs index 825bbdbdf..c8996b894 100755 --- a/packages/exchange-backoffice-ui/dev.mjs +++ b/packages/exchange-backoffice-ui/dev.mjs @@ -24,7 +24,7 @@ const build = initializeDev({ type: "development", source: { js: devEntryPoints, - assets: ["src/index.html"], + assets: [{base:"src",files:["src/index.html"]}], }, destination: "./dist/dev", css: "postcss", diff --git a/packages/exchange-backoffice-ui/test.mjs b/packages/exchange-backoffice-ui/test.mjs index 94c14050f..9df844fce 100755 --- a/packages/exchange-backoffice-ui/test.mjs +++ b/packages/exchange-backoffice-ui/test.mjs @@ -23,8 +23,8 @@ const allTestFiles = getFilesInDirectory("./src", /.test.tsx?$/); await build({ type: "test", source: { - js: allTestFiles, - assets: ["src/index.html"], + js: allTestFiles.files, + assets: [{base:"src",files:["src/index.html"]}], }, destination: "./dist/test", css: "postcss", |