How can I make static resources (e.g. fonts/images) in a node_modules
package available in a Svelte application?
I'd like the process to be automatic so you don't have to do anything manual if you use a different version of package
(assuming package
is consistent with where it stores its assets)
e.g. the package is
node_modules|-package |-assets |-fonts font1.woff font2.woff |-images image1.img image2.img
I presume I need to get them into the static
directory in some way or alternatively have the assets directory supplied as an additional source of static files.