Nonstick Pancake Maker

    babel-plugin-dev

    1.0.0 • Public • Published

    babel-plugin-dev

    Replaces __DEV__ with process.env.NODE_ENV !== 'production'.

    Installation

    $ npm install babel-plugin-dev

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "plugins": ["dev"]
    }

    Via CLI

    $ babel --plugins dev script.js

    Via Node API

    require("babel-core").transform("code", {
      plugins: ["dev"]
    });

    Running the tests

    $ git clone https://github.com/Zenwolf/babel-plugin-dev.git
    cd babel-plugin-dev
    $ npm install
    $ npm test

    Install

    npm i babel-plugin-dev

    DownloadsWeekly Downloads

    384

    Version

    1.0.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • zenwolf