akanix42 / meteor-css-modules

MIT License
92 stars 19 forks source link

appears unstyled with react-toolbox 2.0 + meteor 1.5 #103

Closed shenrenguo closed 6 years ago

shenrenguo commented 7 years ago

@nathantreid I cloned @neoromantic ‘s test repo #90 , and upgrade to meteor 1.5,also installed postcss plugins you mentioned above. But, still appears unstyled.

here is the test repo https://github.com/shenrenguo/meteor-cssmodules-reacttoolbox.git can you give me some help?

neoromantic commented 7 years ago

I have troubles with getting react toolbox with css modules and meteor 1.5 to work too.

It appears unstyled.

Отправлено с iPhone

7 июня 2017 г., в 8:57, shenrenguo notifications@github.com написал(а):

@nathantreid I cloned @neoromantic ‘s test repo #90 , and upgrade to meteor 1.5,also installed postcss plugins you mentioned above. But, still appears unstyled.

here is the test repo https://github.com/shenrenguo/meteor-cssmodules-reacttoolbox.git can you give me some help?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

teknologist commented 7 years ago

Same here

akanix42 commented 7 years ago

Thanks for the reports - I should be able to look at this in the next couple days.

Furqankhanzada commented 7 years ago

@nathantreid any update on it ?

akanix42 commented 7 years ago

Unfortunately this week turned out to be super busy for me, so I haven't looked at it yet.

josephtactica commented 7 years ago

Hi @nathantreid, just want to check in on this issue... Thanks.

akanix42 commented 7 years ago

It appears that the transpilation of ES modules has changed in Meteor 1.5, and the __esModule property has been replaced with a Symbol. React-Toolbox relies on that property to properly import the files. I'll have to do more checking to make sure my fix doesn't break anything else, but in the meantime, please try the following version - it works for me with react-toolbox: nathantreid:css-modules@2.7.4-beta.3.