roxiness / routify

Automated Svelte routes
https://routify.dev
1.85k stars 86 forks source link

Vite build: missing specifier (^2.18.13) #547

Closed Roger-Sa closed 4 months ago

Roger-Sa commented 4 months ago

Using vite v5.1.4. Builds fine with 2.18.12, but not with 2.18.13/14.

Don't know if this is a bug or something I am doing wrong. My google-fu has come up short.

    "scripts": {
        "dev": "run-p dev:*",
        "dev:routify": "routify",
        "dev:vite": "vite",
        "preview": "vite preview",
        "build": "run-s build:*",
        "build:routify": "routify -b",
        "build:vite": "vite build"
    },

npm run dev: Missing "./runtime/buildRoutes" specifier in "@roxi/routify" package [plugin vite:dep-scan] Missing "./hmr" specifier in "@roxi/routify" package [plugin vite:dep-scan]

npm run build: [commonjs--resolver] Missing "./hmr" specifier in "@roxi/routify" package

jakobrosenberg commented 4 months ago

Thanks for the heads up @Roger-Sa.

I'll post a fix for this. There's a possibility that it will require two fixes, so let me know if this first one works for you. 😊

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 2.18.15 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Roger-Sa commented 4 months ago

Thanks for the heads up @Roger-Sa.

I'll post a fix for this. There's a possibility that it will require two fixes, so let me know if this first one works for you. 😊

Works great! Thanks 😊