Open AndyOGo opened 3 years ago
I build a library with various resources (CSS, SVG, ts, etc. ) and the users are expected to make their own build.
Thus I would like to just skip imports and leave them for later transformation, like:
Input:
import "foo.css"
Output:
I made a contrived example using the resolveId hook with the external option: https://repl.it/@AndyOGo/OldfashionedAnnualCache
resolveId
external
I build a library with various resources (CSS, SVG, ts, etc. ) and the users are expected to make their own build.
Thus I would like to just skip imports and leave them for later transformation, like:
Input:
Output:
I made a contrived example using the
resolveId
hook with theexternal
option: https://repl.it/@AndyOGo/OldfashionedAnnualCache