@@ -6,3 +6,4 @@ package-lock.json | |||||
/backend/server.pem | /backend/server.pem | ||||
/testdata/ | /testdata/ | ||||
/backend/supervisord/supervisord.log | /backend/supervisord/supervisord.log | ||||
/dockerfiles/wba/files/wba/dist |
@@ -1,6 +0,0 @@ | |||||
<!DOCTYPE html> | |||||
<html> | |||||
<body> | |||||
Hello, world! | |||||
</body> | |||||
</html> |
@@ -12,13 +12,14 @@ | |||||
"popper.js": "^1.16.1", | "popper.js": "^1.16.1", | ||||
"preact": "^8.2.9", | "preact": "^8.2.9", | ||||
"preact-router": "^2.6.1", | "preact-router": "^2.6.1", | ||||
"rollup": "^0.62.0", | |||||
"rollup": "^0.66.6", | |||||
"rollup-plugin-buble": "^0.19.2", | "rollup-plugin-buble": "^0.19.2", | ||||
"rollup-plugin-copy": "^0.2.3", | "rollup-plugin-copy": "^0.2.3", | ||||
"rollup-plugin-includepaths": "^0.2.3", | "rollup-plugin-includepaths": "^0.2.3", | ||||
"rollup-plugin-license": "^0.7.0", | "rollup-plugin-license": "^0.7.0", | ||||
"rollup-plugin-minify": "^1.0.3", | "rollup-plugin-minify": "^1.0.3", | ||||
"rollup-plugin-node-resolve": "^3.3.0", | "rollup-plugin-node-resolve": "^3.3.0", | ||||
"rollup-plugin-uglify": "^6.0.4", | |||||
"streamsaver": "^2.0.3", | "streamsaver": "^2.0.3", | ||||
"watch": "^1.0.2", | "watch": "^1.0.2", | ||||
"web-streams-polyfill": "^2.0.6" | "web-streams-polyfill": "^2.0.6" | ||||
@@ -1,12 +1,12 @@ | |||||
import resolve from 'rollup-plugin-node-resolve' | import resolve from 'rollup-plugin-node-resolve' | ||||
import buble from 'rollup-plugin-buble'; | import buble from 'rollup-plugin-buble'; | ||||
import minify from 'rollup-plugin-minify'; | |||||
import copy from 'rollup-plugin-copy'; | import copy from 'rollup-plugin-copy'; | ||||
import includePaths from 'rollup-plugin-includepaths'; | import includePaths from 'rollup-plugin-includepaths'; | ||||
import license from 'rollup-plugin-license'; | import license from 'rollup-plugin-license'; | ||||
import { uglify } from "rollup-plugin-uglify"; | |||||
export default { | export default { | ||||
//dest: 'dist/app.min.js', | |||||
// dest: 'dist/js/app.js', | |||||
input: 'src/js/index.js', | input: 'src/js/index.js', | ||||
output: { | output: { | ||||
file: 'dist/js/app.min.js', | file: 'dist/js/app.min.js', | ||||
@@ -57,9 +57,7 @@ export default { | |||||
resolve({}), | resolve({}), | ||||
license({ | license({ | ||||
banner: 'Copyright (C) F. Hoffmann-La Roche AG, 2020.\nAuthor: stanislaw.adaszewski@roche.com\nAll Rights Reserved.', | banner: 'Copyright (C) F. Hoffmann-La Roche AG, 2020.\nAuthor: stanislaw.adaszewski@roche.com\nAll Rights Reserved.', | ||||
}) /* , | |||||
minify({ | |||||
iife: 'dist/app.min.js' | |||||
}) */ | |||||
}), | |||||
// uglify() | |||||
] | ] | ||||
} | } |