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
I have to copy some files in outDir after extension is built. I tried to use copy plugin, but in this case files are copied a few times (after each child build is completed). I want to avoid this, so I tried to override closeBundle hook and copy files manually, but this solution only works for build, not for dev. I cannot move my files to publicDir. Also, I tried to set enforce: pre/post to copy plugin, but there is no luck.
It would be great to have a callback arg that would be executed when parent build is completed
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have to copy some files in outDir after extension is built. I tried to use copy plugin, but in this case files are copied a few times (after each child build is completed). I want to avoid this, so I tried to override closeBundle hook and copy files manually, but this solution only works for build, not for dev. I cannot move my files to publicDir. Also, I tried to set enforce: pre/post to copy plugin, but there is no luck.
It would be great to have a callback arg that would be executed when parent build is completed
Beta Was this translation helpful? Give feedback.
All reactions