KyleAMathews / coffee-react-quickstart

Quickstart for building React single page apps using Coffeescript, Gulp, Webpack, and React-Router
http://kyleamathews.github.io/coffee-react-quickstart
MIT License
254 stars 41 forks source link

Might I need to add a file loader? #14

Open alanhogan opened 9 years ago

alanhogan commented 9 years ago

Do images seem to work just fine for you? If so, I’ll do more investigation…

ERROR in ./src/images/sprites@2x/icons-s91a7691adc.png
Module parse failed: /Users/username/Repos/guidebook/gears3fe/src/images/sprites@2x/icons-s91a7691adc.png 
Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./~/css-loader!./public/main.css 2:40778-40842 2:41665-41729 2:42557-42621 2:43452-43516
alanhogan commented 9 years ago

(I don’t see file-loader here, but maybe it’s not necessary…?) https://github.com/KyleAMathews/coffee-react-quickstart/blob/master/webpack.config.js

KyleAMathews commented 9 years ago

Yeah the file loader isn't configured atm. PR welcome. On Sep 26, 2014 4:31 PM, "Alan Hogan" notifications@github.com wrote:

Do images seem to work just fine for you? If so, I’ll do more investigation…

ERROR in ./src/images/sprites@2x/icons-s91a7691adc.png Module parse failed: /Users/username/Repos/guidebook/gears3fe/src/images/sprites@2x/icons-s91a7691adc.png Line 1: Unexpected token ILLEGAL You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) @ ./~/css-loader!./public/main.css 2:40778-40842 2:41665-41729 2:42557-42621 2:43452-43516

— Reply to this email directly or view it on GitHub https://github.com/KyleAMathews/coffee-react-quickstart/issues/14.

alanhogan commented 9 years ago

15

alanhogan commented 9 years ago

Probably missing things :/