bemjson-loader
Bemjson webpack loader. Extracts declarations from the bemjson file and converts them to the commonJs module.
Installation
$ npm i bemjson-loader
Usage
moduleexports = entry: './index.bemjson.js' module: loaders: test: /\.bemjson\.js$/i loader: 'bemjson' ;
or
moduleexports = entry: './index.bemjson.js' module: loaders: test: /\.bemjson\.js$/i loader: 'bemdecl-to-fs!bemjson?-stringify' ;