Reputation: 72
I'm using Sublime text 3 on mac, and no matter what i do with A file icons plugins webpack icons is only showing if the file name has the word config
webpack.config.js
but if the file name is anything else, the icon is just a normal js file
webpack.dev.js
wepback.prod.js
webpack.dev.js and webpack.prod.js are just showing as a regular js icon
i reinstalled the plugin, still same issues, even reinstalled sublime couple of times
when i try to revert it i'm getting this error
Upvotes: 2
Views: 1077
Reputation: 801
The problem is that A File Icon's Webpack Icon only works if the file extensions are:
Now, To make it work for your custom extensions as in your case for "wepback.prod.js" you will have to mannualy add this file extention into the A File Icon's icons.json file.
To do this follow the steps:
Once added, save the file and restart sublime text.
Now A File Icon's will show the Webpack Icon for the "webpack.prod.js" file extension!!
Note: If you are using zzz A File Icon zzz then you can do the following:
Upvotes: 2