From 6fcf04b7993299f352cc6e00d8ad1823a8c07317 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Tue, 19 Jul 2022 11:51:52 -0400 Subject: Load JSON import on build to test github pages first. Remove this and the automatic database loading with `onMount()` from production later --- rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3