ember-cli / broccoli-asset-rev

Broccoli plugin to add fingerprint checksums and CDN URLs to your assets
MIT License
87 stars 84 forks source link

Ability to skip particular references #135

Open mehulkar opened 4 years ago

mehulkar commented 4 years ago

I ran into a very unique case in an Ember app's JS filename is referenced in the app code, but is not intended to be an asset path. I'd like to be able to skip this particular references when this plugin is running, but don't see how I can do that.

Maybe a comment line before the thing I want to skip would work?

Alonski commented 3 years ago

@mehulkar I know you asked this a long long time ago... Before the pandemic was what it was today... But you can do concat the filename and it will be skipped :) const a = "first-half" const b = "second-half" const all = ${a}${b}.js