vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

Expose SFC Metadata for other plugins

Open dcherman opened this issue 3 years ago • 0 comments

Could we consider exposing some additional metadata on the .vue file that includes what scripts/stylesheets/templates were extracted from the SFC? My use case would be for writing a plugin to inline the CSS in JS for each generated file. It's potentially doable right now, but involves copy and pasting implementation details from this plugin (and it'd break if that implementation ever changed)

dcherman avatar Jul 15 '22 14:07 dcherman