compress-json-loader
v0.1.0
Published
compress json loader module for webpack
Downloads
7
Readme
compress json loader for webpack
Installation
npm i compress-json-loader
Usage
var json = require("json!./file-compressed.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)