You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was thinking if the extension in case of webpack can use the class naming right, because the name of the file and css can be interpreted directly, or in general, generate class instead of id.
the reason for this is, mostly the websites are using bootstrap, but the SnappySnippet is merging bootstrap and none bootstrap css ruels into ID rules. there is no way for me to clean up the css rules if they don't have same name.
also use something like https://github.com/ben-eb/postcss-merge-rules to merge the generated css will make it much cleaner.
i am also using http://rbtech.github.io/css-purge/ to remove duplicated css rules somehow, but still i need to work on it to merge the generated code into my project
The text was updated successfully, but these errors were encountered:
mhamri
changed the title
class name
generate class instead of id
May 28, 2018
i was thinking if the extension in case of webpack can use the class naming right, because the name of the file and css can be interpreted directly, or in general, generate class instead of id.
the reason for this is, mostly the websites are using bootstrap, but the SnappySnippet is merging bootstrap and none bootstrap css ruels into ID rules. there is no way for me to clean up the css rules if they don't have same name.
also use something like https://github.com/ben-eb/postcss-merge-rules to merge the generated css will make it much cleaner.
i am also using http://rbtech.github.io/css-purge/ to remove duplicated css rules somehow, but still i need to work on it to merge the generated code into my project
The text was updated successfully, but these errors were encountered: