0.4.0 • Published 9 years ago

gulp-msx v0.4.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

gulp-msx Build Status

(Based on gulp-react)

Precompiles Mithril views which use JSX into JavaScript, using msx.

Install

npm install --save-dev gulp-msx

Example

var gulp = require('gulp')
var msx = require('gulp-msx')

gulp.task('transform-jsx', function() {
  return gulp.src('./src/**/*.jsx')
    .pipe(msx({harmony: true}))
    .pipe(gulp.dest('./dist'))
})

.jsx files are automatically renamed to .js for you, ready for output.

API

msx([options: Object])

options - options to be passed to the call to msx.transform().


MIT Licensed

0.4.0

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

10 years ago