🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

bemjson-loader

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bemjson-loader

Extracts declarations from the bemjson file

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
8
33.33%
Maintainers
2
Weekly downloads
 
Created
Source

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'
      }
    ]
  }
};

Keywords

bemjson

FAQs

Package last updated on 24 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts