New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webpack entry file cannot be a coffee script file #13
Comments
I have similar issue. I've created demo to reproduce the issue https://gist.github.com/mainiak/1ae02e2694054f5fa6be#file-readme-md |
|
Tobias (@sokra) - if I change my gist to have JavaScript file as entry point - and require coffee script file in it - it will just throw different kind of error. |
👍 |
I'm in the same boat here. I'd like to see this implemented, as my codebase is geared around using that |
This is working for me |
Looks like this is working now, I'm not very interested in this myself so if it turns out it doesn't really work, someone can file another issue. |
If there is a work-around I would use it, but I can't figure it out. I'm using browserify right now and I was looking into webpack. Here is what I have in my makefile so far (using browserify).
Here are the files in my project: I have only 2 sources coffee files, and 2 glsl shaders.
Here is what my webpack.config.js file looks like: I would like to specify my entry point to be my main coffee script file.
It looks like I can use loaders to embed my glsl files, and to compile my cofeescript. If I'm missing something I'd appreciate it to be pointed out.
Thanks !
The text was updated successfully, but these errors were encountered: