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
Fix random integer generator
[e-mobility-charging-stations-simulator.git]
/
rollup.config.mjs
diff --git
a/rollup.config.mjs
b/rollup.config.mjs
index 1cb306ab7d16c050cadf465951004e189f32c089..57a3190eef0211519bcfbe5892695b99dd0696c4 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-9,7
+9,7
@@
import ts from 'rollup-plugin-ts';
const isDevelopmentBuild = process.env.BUILD === 'development';
export default {
const isDevelopmentBuild = process.env.BUILD === 'development';
export default {
- input: ['src/start.ts', 'src/
ui/httpd/start.ts', 'src/
charging-station/ChargingStationWorker.ts'],
+ input: ['src/start.ts', 'src/charging-station/ChargingStationWorker.ts'],
output: [
{
dir: 'dist',
output: [
{
dir: 'dist',
@@
-33,13
+33,18
@@
export default {
},
],
external: [
},
],
external: [
+ '@mikro-orm/core',
+ '@mikro-orm/reflection',
+ 'ajv',
+ 'ajv-draft-04',
+ 'ajv-formats',
+ 'async_hooks',
'basic-ftp',
'chalk',
'crypto',
'basic-ftp',
'chalk',
'crypto',
- 'express',
'fs',
'fs',
- '
@mikro-orm/core
',
- '
@mikro-orm/reflection
',
+ '
http
',
+ '
http-status-codes
',
'mnemonist/lru-map-with-delete',
'moment',
'mongodb',
'mnemonist/lru-map-with-delete',
'moment',
'mongodb',
@@
-51,11
+56,11
@@
export default {
'tar',
'url',
'uuid',
'tar',
'url',
'uuid',
- 'w
s
',
+ 'w
inston
',
'winston-daily-rotate-file',
'winston/lib/winston/transports/index.js',
'winston-daily-rotate-file',
'winston/lib/winston/transports/index.js',
- 'winston',
'worker_threads',
'worker_threads',
+ 'ws',
],
plugins: [
json(),
],
plugins: [
json(),
@@
-65,7
+70,13
@@
export default {
}),
isDevelopmentBuild && istanbul(),
del({
}),
isDevelopmentBuild && istanbul(),
del({
- targets: ['dist/*', '!dist/assets', 'dist/assets/*.json', 'dist/assets/station-templates'],
+ targets: [
+ 'dist/*',
+ '!dist/assets',
+ 'dist/assets/*.json',
+ 'dist/assets/station-templates',
+ 'dist/assets/json-schemas',
+ ],
}),
copy({
targets: [{ src: 'src/assets', dest: 'dist/' }],
}),
copy({
targets: [{ src: 'src/assets', dest: 'dist/' }],