microbundle icon indicating copy to clipboard operation
microbundle copied to clipboard

load raw files (ex: html)

Open sebaplaza opened this issue 4 years ago • 1 comments

Hello,

There is a way to load raw files ?

In the case of an UI components library

ex :


import template from './template.html?raw'

thanks!

sebaplaza avatar Sep 16 '21 11:09 sebaplaza

Might be interesting to support the querystring parameter - IIRC Vite supports that out-of-the-box too.

developit avatar Oct 21 '21 17:10 developit