Open kellyselden opened 3 years ago
I'm still facing this year old issue! is this package deprecated?
@rami-alloush No, at the moment, it's not. @kellyselden Did you manage to figure out what was causing this?
I have not.
confirmed its still an issue with the recent changes. @bertdeblock its due to broccoli-asset-rev prepend, can help you track down why if needed. see also https://github.com/ember-cli/broccoli-terser-sourcemap/issues/310 and https://github.com/ember-cli/ember-cli-terser/issues/275 which are all the same regression I believe
The code it chokes on is this:
const file = await fetch(<<CDN_RUL>>`/translations/en-us-0875d483587e8fe8b6c09c9f9f8008f6.json`);
note how that is outside of the backticks
this is the original source code:
const file = await fetch(`/translations/en-us.json`);
It would appear that potentially broccoli-asset-rev is not handling prepend correct when backticks are in use
Actual issue I think: https://github.com/ember-cli/broccoli-asset-rev/issues/143
https://github.com/ember-cli/ember-cli/issues/9528 seems like the same issue and https://github.com/ember-cli/broccoli-asset-rewrite/pull/73 was made as an attempt to fix it.
Updating to v4.0.2 gives us the following in our build logs:
v4.0.1 is working. Are we missing a transitive dependency update? Or is there an issue with v4.0.2?