|
|
|
|
|
by Valodim
815 days ago
|
|
Some loaders already encode stuff in the path url style, e.g. vite-svg-loader import iconUrl from './my-icon.svg?url' Maybe I'm not imaginative enough but this seems like a reasonably restricted (i.e. simple) way of parametrizing imports. |
|