json loader module for webpack
npm install json-loader
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.
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…