0.1.0 • Published 9 years ago

cson-loader v0.1.0

Weekly downloads
52
License
Public Domain
Repository
github
Last release
9 years ago

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)

0.1.0

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago