Replies: 2 comments
-
I'd also be interested in how to do this. Perhaps it helps if I elaborate on the use case: My plugin enables to import LaTeX formulas as svg files, so you write But since equations often contain repeated parts (for example in the equation above, the That means that apart from having the |
Beta Was this translation helpful? Give feedback.
-
Bumping this. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a plugin that injects CSS at the end of the bundling pipeline (it relies on the contents of the JS files which is why it has to happen at the end).
As I understand, renderChunk is the right place to do this, and for the sake of a very basic example, let's say it looks like this:
I'm not sure how to do this. I know about
emitFile
but that generates a new file which is not really what I want. I'm not sure how I would tell users the name of the built file or how to incorporate it. So I'm thinking maybe there is another way?Any pointers in the right direction would be awesome.
Beta Was this translation helpful? Give feedback.
All reactions