aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-07-19 11:51:52 -0400
committerFurkan Sahin <furkan-dev@proton.me>2022-07-19 11:51:52 -0400
commit6fcf04b7993299f352cc6e00d8ad1823a8c07317 (patch)
tree52f9296f5dd53800091ae778c3cce777137889cd
parent144758141156d8d00bb67f45d48dd7e6bf34525b (diff)
Load JSON import on build to test github pages first. Remove this and the automatic database loading with `onMount()` from production later
-rw-r--r--rollup.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js
index a4ce770..df68891 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -82,7 +82,8 @@ export default {
production && terser(),
// Reading from local json should only happen in development - Furkan
- !production && json()
+ // !production && json()
+ json()
],
watch: {
clearScreen: false