gruntjs / gruntjs/grunt

Is there a way to keep Template Strings From Being Processed?

Open
#1,462 6 comments 0 reactions 0 assignees View on GitHub
Type: Question
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Simple question: is it possible to keep template strings from getting processed?

I shouldn't have to do this:

``` javascript
replacements: [{
from: 'something',
to: '">'
},{
from: 'ConfigurationManager.AppSettings("something")',
to: '%=ConfigurationManager.AppSettings("something")%'
}]
```

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named; start by tracing where Grunt processes template strings and how the replacement configuration is handled. Done should be a clear determination of whether processing can be disabled, with the required behavior and scope documented before any implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.