You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Pavel. This module doesn't perform any filesystem operations, so for now you need to use other modules which returns a list of files. Try to look at my response at similar question here. You may probably need to play with options of glob module depending on what you want to see as src path. There is also resolvePaths option which may help you to resolve paths relative to your html file.
Hey,
I tring to include all js files in folder and subfolders.
htmlreplace({
js: {
src: '/dir/*/.js',
tpl: '<script src="%s"></script>'
}
})
What the way to do that?
Thanks,
Pavel
The text was updated successfully, but these errors were encountered: