-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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
Add support to filter js.map files generated from ts files #4642
Comments
@dbaeumer this is currently not supported but I find the notation of 2-times $(basename) interesting. As a workaround for now I suggest you just use |
@dbaeumer the alternative idea i had was to introduce something like $(filename) that is really the portion of a file without extension. |
The easy workaround for anyone hitting this is to just exclude with */.js.map: true |
Old post but If it's any help I use the following: "**/*.js": {
"when": "$(basename).ts"
},
"**/*.map": {
"when": "$(basename)"
} It hides map files if there's a matching JS file and hides JS files if there's a matching TS file, leaving you with just TS files. Thought it was a little neater hiding all map files |
+1 on the I'd like to add that doing a general |
+1. There is no way to exclude generated |
What we need is something like |
Any news on this? Need to be able to hide *.d.ts and *.map.js the same way as ".js" that lay near ".ts". |
Hey, ".d.ts" was fixed, but not ".js.map" kind of strange? 😃 |
I see there are some workarounds. |
Steps to Reproduce:
Wasn't able to do so. Tried:
The text was updated successfully, but these errors were encountered: