npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

react-transform-noop

1.0.1 • Public • Published

react-transform-noop

This is a react-transform that does nothing! Its just a starter kit showing how to write/test/publish a react-transform.

Features

  • Builds with babel 6 using the es2015 and react presets. (npm compile)
  • Tests with mocha (npm test)

Getting Started

Usage

There's no point in using this transform. It doesn't do anything! That being said, you can use it by updating your .babelrc file to look like the following. Your much fancier transform will also require something like this.

{
  "presets": [
    "react"
  ],
  "plugins": [
    ["react-transform", {
      "transforms": [{
        "transform": "react-transform-noop"
      }]
    }]
  ]
}

install

npm i react-transform-noop

Downloadsweekly downloads

6

version

1.0.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability