Skip to content
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

Support user-defined custom tags in typeMap #37

Open
timkendrick opened this issue Jun 1, 2016 · 1 comment
Open

Support user-defined custom tags in typeMap #37

timkendrick opened this issue Jun 1, 2016 · 1 comment

Comments

@timkendrick
Copy link

I'd love to be able to use gulp-inline to inline different content types based on user-defined tag definitions.

In my case, I need to inline Polymer web component definitions (via <link rel="import"> tags) – but I can see this being really handy for more application-specific use cases (e.g. a custom <i18n key="foo"> tag definition).

Any chance of allowing a custom typeMap to be passed as an option?

@k-funk
Copy link

k-funk commented Sep 3, 2016

+1ish...

Alternatively, it would be great to target an attribute like href=*.png, or even better, any reference to *.png.

My motivation is because of favicons:

<meta name="msapplication-TileImage" content="/assets/images/branding/favicons/mstile-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/assets/images/branding/favicons/apple-touch-icon-152x152.png">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants