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

Strict mode for exact file name matches #217

Open
PRR24 opened this issue Dec 27, 2020 · 1 comment
Open

Strict mode for exact file name matches #217

PRR24 opened this issue Dec 27, 2020 · 1 comment

Comments

@PRR24
Copy link

PRR24 commented Dec 27, 2020

As world is moving slowly but surely away from auto-extensions, please consider implementing a strict name matching option, that disables all heuristics and matches file references precisely.
For example, in strict mode require("file") would not match with file.js.
Such mode would also dramatically reduce false-positives, like matching let smth = "file";
Thank you.

@Maxim-Mazurok
Copy link

See #97 and https://github.com/smysnk/gulp-rev-all#annotater--replacer

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