Skip to content

Commit

Permalink
build optimierung
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Feb 14, 2021
1 parent edd80d6 commit 9d055ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Simple monitoring site that runs as a static page. Can be hosted anywhere and does not need a server to run. Multiple BBB servers are supported.

![Screenshot](./public/bbb-monitor.png)
![Screenshot](./assets/bbb-monitor.png)

You will have to allow CORS headers on your BBB instance or use a browser extension to receive the data (try Cors Everywhere for FireFox).

Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"svelte-check": "^1.0.0",
"svelte-preprocess": "^4.0.0",
"tslib": "^2.0.0",
"sirv-cli": "^1.0.0",
"typescript": "^4.1.3"
},
"dependencies": {
"fast-xml-parser": "^3.17.6",
"jssha": "^3.2.0",
"sirv-cli": "^1.0.0"
"jssha": "^3.2.0"
}
}
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import typescript from '@rollup/plugin-typescript';
import css from 'rollup-plugin-css-only';

const production = !process.env.ROLLUP_WATCH;
console.log(production)

function serve() {
let server;
Expand All @@ -33,7 +34,7 @@ function serve() {
export default {
input: 'src/main.ts',
output: {
sourcemap: true,
sourcemap: !production,
format: 'iife',
name: 'app',
file: 'public/build/bundle.js'
Expand Down Expand Up @@ -61,7 +62,7 @@ export default {
}),
commonjs(),
typescript({
sourceMap: true, //!production,
sourceMap: !production,
inlineSources: !production,
target: "es6",
lib: [ "es2019", "dom" ]
Expand Down

0 comments on commit 9d055ff

Please sign in to comment.