1.0.9 • Published 8 years ago

babel-plugin-jsx-text-extract v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

babel-plugin-jsx-text-extract

Extract text from JSXText nodes into separate file

Installation

$ npm install babel-plugin-jsx-text-extract

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["jsx-text-extract"]
}

Via CLI

$ babel --plugins jsx-text-extract script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["jsx-text-extract"]
});
1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago