cson-loader
v0.1.0
Published
CSON loader module for webpack
Downloads
655
Readme
CSON loader for webpack
Uses cson-safe under the hood.
Recommended Usage
{
resolve: {
extensions: ['.cson']
},
module: {
loaders: [
{ test: /\.cson$/, loader: "cson" }
]
}
}
and then, as simple as
var contents = require("config") // will load config.cson
Alternate Usage
var contents = require("cson!./file.cson");
License
MIT (http://www.opensource.org/licenses/mit-license.php)