This demo shows how Webpack & CoffeeScript should work together
git clone https://gist.github.com/1ae02e2694054f5fa6be.git
npm install
node ./index.js
# Errors
./main.coffee
Module parse failed: /Users/jvitak/git/projects/test/main.coffee Line 1: Unexpected string
You may need an appropriate loader to handle this file type.
| Dummy = require './Dummy'
|
| d1 = new Dummy
# Warnings
- WebPack v1.12.1
- coffee-loader v0.7.2
- CoffeeScript v1.10.0
- Node.js v4.0.0, v0.12.7
- NPM v2.14.2, v2.14.1