pwmckenna / react-transform-noop

React Transform that does nothing

Home Page:https://www.npmjs.com/package/react-transform-noop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
      }]
    }]
  ]
}

About

React Transform that does nothing

https://www.npmjs.com/package/react-transform-noop


Languages

Language:JavaScript 100.0%