json loader for webpack
Installation
npm install json2-loader
Usage
javascript var json = require("json!./file.json"); // => returns file.json content as json string. // if you want to get a module you can use webpack/json-loader.
npm install json2-loader
javascript var json = require("json!./file.json"); // => returns file.json content as json string. // if you want to get a module you can use webpack/json-loader.
npm i json2-loader
2
0.1.0
MIT