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
I build a component library and I only want to transform SCSS files to CSS files and keep the import statements renamed to the CSS file.
The user of the library is then free to decide which loader he uses and how the CSS is delivered to the browser.
Like @rollup/plugin-typescript does it, it also renames the imports from *.ts to *.js and generates the transpiled files.
I build a component library and I only want to transform SCSS files to CSS files and keep the
import
statements renamed to the CSS file.The user of the library is then free to decide which loader he uses and how the CSS is delivered to the browser.
Like
@rollup/plugin-typescript
does it, it also renames the imports from*.ts
to*.js
and generates the transpiled files.Input:
Output:
I made a contrived example using the
resolveId
hook with theexternal
option:https://repl.it/@AndyOGo/OldfashionedAnnualCache
The text was updated successfully, but these errors were encountered: