geelen / jspm-loader-css

50 stars 27 forks source link

Uncaught SyntaxError: Unexpected token . #21

Closed amitport closed 9 years ago

amitport commented 9 years ago

following those minimal instructions from the main readme fails with an exception

"

Install the plugin and name it css locally

jspm install css=npm:jspm-loader-css

Load the styles by 
referencing them in your JS:

import from './styles.css!'

"

I'm using babel@5.8.23 and jspm-loader-css@0.1.6. It seems that the systemjs tries to load the css file as plain js

also note, I'm using system@0.18.17 but https://github.com/geelen/jspm-loader-css/pull/20 does not have any effect on this issue

amitport commented 9 years ago

same as https://github.com/geelen/jspm-loader-css/issues/16. closing this...