How to include non-referenced files in output directory? #4750
Unanswered
Ethan-Arrowood
asked this question in
General
Replies: 3 comments
-
You could create a reporter plugin that does this copying after every successful build |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd like to know how to include non-referenced files in output directory (for example robots.txt and favicon.ico in the projects root). Are there steps to achieve this documented somewhere? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This plugin should do the trick https://github.com/elwin013/parcel-reporter-static-files-copy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Parcel 2 with the new Azure Static Web Apps and one of the requirements for my build directory is a
routes.json
file for the Azure service. It is not used by any of my files such as index.html or index.js, but still needs to be there. I've currently implemented acp -r azure-assets build
command that runs after runningparcel build index.html
, is there a better way of doing this?Beta Was this translation helpful? Give feedback.
All reactions