iced-loader

0.7.3 • Public • Published

coffee-script loader for webpack

Usage

var exportsOfFile = require("iced!./file.iced");
// => return exports of executed and compiled file.iced
 
var exportsOfFile2 = require("iced?literate!./file.litcoffee");
// can also compile literate files.

Documentation: Using loaders

Recommended configuration

{
    module: {
        loaders: [
            { test: /\.iced$/, loader: "iced-loader" },
            { test: /\.(iced\.md|litcoffee)$/, loader: "iced-loader?literate" }
        ]
    }
}

Notes

You can also use the .coffee extension without any issue. .iced is preferred for clarity.

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Readme

Keywords

none

Package Sidebar

Install

npm i iced-loader

Weekly Downloads

0

Version

0.7.3

License

none

Last publish

Collaborators

  • dylukes