X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=bundle.js;h=4443f985160205ae4e0356f8d133f221712a3e6f;hb=HEAD;hp=9a68fa7ae0684c556644742c829bb737e0913b78;hpb=f36c2478a92ea04a096232c4060427438ad2cd79;p=e-mobility-charging-stations-simulator.git diff --git a/bundle.js b/bundle.js index 9a68fa7a..4443f985 100644 --- a/bundle.js +++ b/bundle.js @@ -22,19 +22,21 @@ await build({ 'basic-ftp', 'chalk', 'date-fns', + 'date-fns/*', 'http-status-codes', - 'just-merge', 'logform', - // 'mnemonist', + 'mnemonist', 'mongodb', 'node:*', 'poolifier', + 'rambda', 'tar', 'winston', 'winston/*', 'winston-daily-rotate-file', 'ws' ], + treeShaking: true, minify: true, sourcemap, entryNames: '[name]', @@ -47,7 +49,8 @@ await build({ './dist/assets/*.json', './dist/assets/json-schemas', './dist/assets/station-templates', - './dist/assets/ui-protocol' + './dist/assets/ui-protocol', + './dist/assets/configs-docker' ] }), copy({ @@ -67,6 +70,10 @@ await build({ { from: ['./src/assets/station-templates/**/*.json'], to: ['./assets/station-templates'] + }, + { + from: ['./src/assets/configs-docker/*.json'], + to: ['./assets/configs-docker'] } ] })