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

[Request] Display Webpack icon for webpack.*.js files #103

Closed
Yohanna opened this issue Jul 28, 2017 · 3 comments
Closed

[Request] Display Webpack icon for webpack.*.js files #103

Yohanna opened this issue Jul 28, 2017 · 3 comments

Comments

@Yohanna
Copy link

Yohanna commented Jul 28, 2017

Currently the extension displays the webpack icon for "webpack.config.js" & "webpack.prod.js". It'd be nice to display the icon for other webpack files as well, like in this case "webpack.dist.js" is detected as plain JS file instead of a webpack file:

image

Thanks.

@PKief PKief closed this as completed in c20b7f4 Jul 28, 2017
@Adondriel
Copy link

Could we expand on this? to make it webpack.*.*.js?
image

@sqal
Copy link

sqal commented Sep 12, 2017

@PKief Is there a chance the icon can be applied to files starting with webpack.config.* ? Because currently it doesn't work in some cases:

ss1

@PKief
Copy link
Owner

PKief commented Sep 12, 2017

Currently I have to hard code the file extensions. Unfortunately there's no way to define a glob pattern or regex for use cases like webpack. But if you like I can add the webpack.config.base.js file to the icon list.

@PKief PKief reopened this Sep 12, 2017
@PKief PKief closed this as completed in 7f828f1 Sep 13, 2017
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

4 participants