Skip to content

fork of json loader module for webpack that only emits json (not a module)

Notifications You must be signed in to change notification settings

noahrc/json-raw-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

json loader for webpack

Installation

npm install --save 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

fork of json loader module for webpack that only emits json (not a module)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%