Skip to content

awnist/cson-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

Documentation: Using loaders

License

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

About

CSON loader module for webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages