maximkoretskiy / postcss-autoreset

PostCSS plugin for automatic rules isolation
MIT License
244 stars 11 forks source link

Fix module export for babel 6. Refs #9. #10

Closed mikaa123 closed 8 years ago

mikaa123 commented 8 years ago

Change the way the module is exported, so that it can be required without using require('postcss-autoreset').default (due to babel 6 way of dealing with es6 default).

maximkoretskiy commented 8 years ago

Thank You for contribution and bugreport but it is not good idea to break codestyle. We can easily change build method https://github.com/maximkoretskiy/postcss-autoreset/commit/d248968fe9a4491d90c6be26397262aa11285af1