W3cubDocs

/webpack

coffee-redux-loader

Coffee Script Redux loader for Webpack.

Install

npm i -D coffee-redux-loader

Usage

var exportsOfFile = require("coffee-redux-loader!./file.coffee");
// => return exports of executed and compiled file.coffee

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

© JS Foundation and other contributors
Licensed under the Creative Commons Attribution License 4.0.
https://webpack.js.org/loaders/coffee-redux-loader