Hello! I really love Netlify so far! It’s been a pleasure to use, but there’s an issue I don’t know how to get around.
I’ve been loading a javascript package from an external CDN, and I want to make it part of my project instead of relying on an external source. The package has a configuration parameter that’s appended to the package location in a script tag. It looks like this:
<script src="cdn-url.com/path/to/package.js?config=config_params"></script>
I added a local copy of the package and tested it locally. Everything seemed fine, so I pushed the changes, but the live site was broken. Netlify had changed the script tag to this:
<script src="netlify-cdn-url.com/path/to/package.js"></script>
The configuration parameter had been removed. Is there any way to keep netlify from removing that during the build?