repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'main' into combined-prs-branch
[e-mobility-charging-stations-simulator.git]
/
bundle.js
diff --git
a/bundle.js
b/bundle.js
index 912d16d95ae41f32ae40a562206c4950bb43d697..4443f985160205ae4e0356f8d133f221712a3e6f 100644
(file)
--- a/
bundle.js
+++ b/
bundle.js
@@
-22,6
+22,7
@@
await build({
'basic-ftp',
'chalk',
'date-fns',
'basic-ftp',
'chalk',
'date-fns',
+ 'date-fns/*',
'http-status-codes',
'logform',
'mnemonist',
'http-status-codes',
'logform',
'mnemonist',
@@
-35,6
+36,7
@@
await build({
'winston-daily-rotate-file',
'ws'
],
'winston-daily-rotate-file',
'ws'
],
+ treeShaking: true,
minify: true,
sourcemap,
entryNames: '[name]',
minify: true,
sourcemap,
entryNames: '[name]',
@@
-47,7
+49,8
@@
await build({
'./dist/assets/*.json',
'./dist/assets/json-schemas',
'./dist/assets/station-templates',
'./dist/assets/*.json',
'./dist/assets/json-schemas',
'./dist/assets/station-templates',
- './dist/assets/ui-protocol'
+ './dist/assets/ui-protocol',
+ './dist/assets/configs-docker'
]
}),
copy({
]
}),
copy({
@@
-67,6
+70,10
@@
await build({
{
from: ['./src/assets/station-templates/**/*.json'],
to: ['./assets/station-templates']
{
from: ['./src/assets/station-templates/**/*.json'],
to: ['./assets/station-templates']
+ },
+ {
+ from: ['./src/assets/configs-docker/*.json'],
+ to: ['./assets/configs-docker']
}
]
})
}
]
})