My app contains an outside-facing landing page that serves as a website. This page contains some videos and is quite heavy. For testing purposes, I am placing these videos under the public
folder. On the prod system, however, they are referenced from S3 instead.
Now I would like to exclude these files from the Meteor build (I’m using mup
) to deploy. Otherwise, the app takes ages to upload, unless I remove the videos every-time I want to mup deploy
. Even worse, I noticed that the bundle includes them twice, under web.browser
and web.browser.legacy
.
Is there a way to exclude the files from build, but keep them in place for local testing? The undocumented .meteorignore
file does not work for the public
folder, unfortunately.