klei / klei/gulp-inject

Injecting into *.pug fies doesn't work while does for *.jade

Open
#191 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
807
Forks
90
PR merge metrics
No merged PRs in 30d

Description

It looks like those are not detected by the file extension and considered as default htmls, since if I use e.g. injection happens in html format.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how gulp-inject detects template extensions and compare the existing .jade path with .pug handling. Reproduce the issue with a .pug file containing the documented injection comment, then verify that the expected injection occurs for Pug without changing HTML behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, pug
Domain
tooling, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.