mu-semtech / mu-javascript-template

Template for running javascript/express microservices
4 stars 17 forks source link

for prod builds make sure babel copies non js files as well #27

Closed nvdk closed 3 years ago

nvdk commented 3 years ago

services might use json files, hbs files etc. I believe you need to add the --copy-files directive to instruct babel to also copy these files. See https://babeljs.io/docs/en/babel-cli#copy-files