You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice for preprocessing to be able to make use of the feature available in Rollup 0.61+ that lets transforms specify additional files as dependencies, so that watching works properly.
This will be slightly fiddly as we'll have to intercept the responses from the markup/style/script callbacks to grab the dependencies from them, before passing the response along to svelte.preprocess. Then we'll compile the component (as we do now), and finally include those gathered dependencies in the response from the transform hook.
The text was updated successfully, but these errors were encountered:
It would be nice for preprocessing to be able to make use of the feature available in Rollup 0.61+ that lets transforms specify additional files as dependencies, so that watching works properly.
This will be slightly fiddly as we'll have to intercept the responses from the
markup
/style
/script
callbacks to grab thedependencies
from them, before passing the response along tosvelte.preprocess
. Then we'll compile the component (as we do now), and finally include those gathered dependencies in the response from thetransform
hook.The text was updated successfully, but these errors were encountered: