Update import on <script src=>
when file is moved
#891
alexrecuenco
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
That would be quite cool! I'd be happy to help you implement this. I don't think quite remember which of the hooks is triggered on file changes, I believe it might be Happy to provide more in-depth explanations once I'm back from holidays next week. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background & Motivation
It is a core feature of Astro that script tags allow src local files
It would be lovely if imports update when you update their location also in those files, similarly to how
es module
imports update.Proposed Solution
Open Questions
Detailed Design
No response
Help make it happen!
Beta Was this translation helpful? Give feedback.
All reactions