Skip to content

json loader module for webpack that support comments

Notifications You must be signed in to change notification settings

johangirod/json-comments-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

json loader for webpack

Installation

npm install json-loader

Usage

var json = require("json!./file.json");
// => returns file.json content as json parsed object

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

License

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

About

json loader module for webpack that support comments

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%