diff --git a/packages/builder/.gitignore b/packages/builder/.gitignore index 6e90239f92..94ba827047 100644 --- a/packages/builder/.gitignore +++ b/packages/builder/.gitignore @@ -4,4 +4,5 @@ node_modules_win package-lock.json yarn.lock release/ -dist/ \ No newline at end of file +dist/ +routify diff --git a/packages/builder/package.json b/packages/builder/package.json index dfb8173c83..cb91f2ce42 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -4,11 +4,11 @@ "license": "AGPL-3.0", "private": true, "scripts": { - "build": "rollup -c", - "start": "routify -c rollup", + "build": "routify --routify-dir routify -b && rollup -c", + "start": "routify --routify-dir routify -c rollup", "test": "jest", "test:watch": "jest --watchAll", - "dev:builder": "routify -c rollup", + "dev:builder": "routify --routify-dir routify -c rollup", "rollup": "rollup -c -w" }, "jest": { diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index 86c7580a56..c6b76090f9 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -2,7 +2,7 @@ import Modal from "svelte-simple-modal" import { onMount } from "svelte" import { Router, basepath } from "@sveltech/routify" - import { routes } from "@sveltech/routify/tmp/routes" + import { routes } from "../routify/routes" import { store, initialise } from "builderStore" import AppNotification, { showAppNotification,