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
Want to copy some default static assets (fonts, default pure string based templates) that included by my library as default without any transformation and without any import & export abilities.
I currently use this as workaround:
hooks: {'build:done': async()=>{// copy all things under src/assets to dist/assetsconst{ copy }=awaitimport('fs-extra')awaitcopy('src/assets','dist/assets')},},
Ref: nuxt/module-builder#63
A builder similar to mkdist but copy them as is without any transforms. (We might support small things like ignore patterns)
The text was updated successfully, but these errors were encountered: