lilnasy / gratelets

A collection of purpose-built, small, third-party integrations for Astro.
The Unlicense
111 stars 6 forks source link

Cannot find package 'astro-dynamic-import:internal' imported in ...... #93

Closed evertonadame closed 7 months ago

evertonadame commented 7 months ago

After building my application im reciving this error Cannot find package 'astro-dynamic-import:internal imported from .....

Works in dev mode

Looks like vite is just ignoring the plugin

lilnasy commented 7 months ago

First time I'm seeing this. Could you share a small project created using https://astro.new/ that shows the error?

lilnasy commented 7 months ago

Closing this as I can't investigate without a reproduction of the error.

RATIU5 commented 7 months ago

I'm also getting this error after building and I start the dev server, this error occurs. I will try to reproduce it. EDIT: It seems to go away whenever I reload one of the pages in my browser. But it still happens when I restart the server. EDIT 2: Tailwind does not work when I reload the page. This is weird. Will do more investigation. EDIT 3: Was able to replicate it. Since this issue is closed I'll create a new one.