Neil Patrick's Mansion

    bemjson-loader

    0.1.0 • Public • Published

    bemjson-loader

    Bemjson webpack loader. Extracts declarations from the bemjson file and converts them to the commonJs module.

    Installation

    $ npm i bemjson-loader

    Usage

    module.exports = {
      entry: './index.bemjson.js',
     
      module: {
        loaders: [
          {
            test: /\.bemjson\.js$/i,
            loader: 'bemjson'
          }
        ]
      }
    };

    or

    module.exports = {
      entry: './index.bemjson.js',
     
      module: {
        loaders: [
          {
            test: /\.bemjson\.js$/i,
            loader: 'bemdecl-to-fs!bemjson?-stringify'
          }
        ]
      }
    };

    Install

    npm i bemjson-loader

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • yeti-or
    • just-boris
    • sullenor