adobe / adobeio-cna-starter-project

DEPRECATED - Please use https://github.com/adobe/aio-cli to manage your future apps!
https://adobe.io
Apache License 2.0
10 stars 8 forks source link

Deploy issue when minifying action #30

Open icaraps opened 5 years ago

icaraps commented 5 years ago

Expected Behaviour

Deploy works

Actual Behaviour

Deploy fails

Steps to Reproduce

Create an action with a dependency on bwip-js, in scripts/build.actions.js verify that minify is set to true.

Sample Code that illustrates the problem

See https://github.com/icaraps/cna-barcode-generator/blob/master/actions/barcode/index.js

Logs taken while reproducing problem

 Returned HTTP 400 (Bad Request) --> 
 ›   "The request content was malformed:
 ›   Unexpected end-of-input at input index 1623 (line 1, position 1624), 
 ›   expected '"':
moritzraho commented 5 years ago

Same/relates to #28

devongovett commented 5 years ago

I'm not sure there is enough information here to make this a Parcel issue. Could you look into this more and file an issue on https://github.com/parcel-bundler/parcel with a complete reproduction?