cson-loader

CSON loader module for webpack

Showing:

Popularity

Downloads/wk

141

GitHub Stars

9

Maintenance

Last Commit

6yrs ago

Contributors

3

Package

Dependencies

1

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

CSON loader for webpack

Uses cson-safe under the hood.

{
    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)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100