parcel-bundler / parcel

The zero configuration build tool for the web. 📦🚀
https://parceljs.org
MIT License
43.45k stars 2.27k forks source link

Support ng-include #1399

Closed dobesv closed 3 months ago

dobesv commented 6 years ago

🙋 feature request

When I use <ng-include src="..."/> I have to manually resolve those paths using my own workarounds. It would be nice if those paths were resolved by parcel like <a href=...> is.

💁 Possible Solution

Perhaps the HTMLAsset could be a bit configurable, let me modify the configuration of which attributes it processes. Then an angular-specific feature wouldn't be needed and if there are other attributes people want to process, they can without modifying the code.

A possible workaround would be for me to make a plugin with a forked HTMLAsset.

devongovett commented 3 months ago

Closing since this is for Parcel 1.