Closed ai closed 8 years ago
@vvasilev- any updates?
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 .
👍
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.