diff --git a/lib/rollup-plugin-filerouter.js b/lib/rollup-plugin-filerouter.js index 6e0c1701..7dc3b646 100644 --- a/lib/rollup-plugin-filerouter.js +++ b/lib/rollup-plugin-filerouter.js @@ -1,5 +1,5 @@ const path = require('path') -const fsa = require('utils/fsa') +const fsa = require('./utils/fsa') const filesToRoutes = require('./files-to-routes') const ROUTES_FILE = 'generatedRoutes.js' diff --git a/package-lock.json b/package-lock.json index cd19e90e..5c9ac347 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,14 @@ { "name": "svelte-filerouter", - "version": "1.0.7", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { + "cheap-watch": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cheap-watch/-/cheap-watch-1.0.2.tgz", + "integrity": "sha512-jp82t+kZAW+ZVnuYuHZEGZqDaUg28uAyOhC915BcKBSYL55fpTyuJ56cYYXZG0JkCPQT80MjRD6q2KqebaPwCw==" + }, "estree-walker": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", diff --git a/package.json b/package.json index 8659bed4..6cc690b1 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,8 @@ }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" + }, + "dependencies": { + "cheap-watch": "^1.0.2" } }