dciccale / grunt-processhtml

Process html files at build time to modify them depending on the release environment
MIT License
407 stars 30 forks source link

Inline external JS files #117

Closed xMarkusSpringerx closed 4 years ago

xMarkusSpringerx commented 6 years ago

Hey is there a possibility to inline external JS files?

<!-- build:js inline -->
<script src="https://test.com/test.min.js"></script>
<!-- /build -->
dciccale commented 4 years ago

Hi, this is not possible. I think this module is intended for local development where you would not inline remote code. I think it would also add quite some complexity, what if the download fails or is blocked? what if there's no internet connection while developing or building on your ci, or the content is corrupted. maybe skip it and default to use Githubissues.

  • Githubissues is a development platform for aggregating issues.