2createStudio / postcss-sprites

Generate sprites from stylesheets.
MIT License
413 stars 50 forks source link

Use babel-plugin-add-module-exports #64

Closed ai closed 8 years ago

ai commented 8 years ago

Babel@6 drops support for CommonJS interop, but there is special plugin babel-plugin-add-module-exports to fix it.

Right now, you must do require('postcss-sprites').default, but it is hard in postcss-cli.

@vasilev- also PostCSS core uses babel-plugin-add-module-exports too.

ai commented 8 years ago

@vvasilev- any updates?

vvasilev- commented 8 years ago

Sorry for late response but I have few days off. I'll fix the issue on Friday. 😀

On Aug 22, 2016 23:37, "Andrey Sitnik" notifications@github.com wrote:

@vvasilev- https://github.com/vvasilev- any updates?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/2createStudio/postcss-sprites/issues/64#issuecomment-241559043, or mute the thread https://github.com/notifications/unsubscribe-auth/ABs0-UP5hUdHGjtRaofMBEIJ2-utTTlwks5qihaZgaJpZM4JpQPv .

ai commented 8 years ago

👍