-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.2 gives build error Unexpected token: punc (:)
#287
Comments
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 ember-cli/broccoli-terser-sourcemap#310 and #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: ember-cli/broccoli-asset-rev#143 |
ember-cli/ember-cli#9528 seems like the same issue and ember-cli/broccoli-asset-rewrite#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?
The text was updated successfully, but these errors were encountered: