gulp-nativejsx
nativejsx.
Gulp plugin forHello, my soda-slurping Gulpers. Here's a Gulp plugin to help fill your cup.
Installation
Install gulp-nativejsx
by running this command in your project folder:
npm install gulp-nativejsx --save-dev
Configuration
'use strict'; var gulp = ;var nativejsx = ; gulp; gulp;
Options
gulp;
- declarationType: Either
var
(default),const
, orlet
. - variablePrefix: Any string (defaults to
$$
) you can conjure up that produces a valid JavaScript variable. - acorn: All acorn options are available here. Defaults to
{plugins: {jsx: true}, ecmaVersion: 6, sourceType: 'module'}
.