0.1.0 • Published 7 years ago
compress-json-loader v0.1.0
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
0.1.0
7 years ago