ollejah / gulp-browserify-riot

build riotjs tags with browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Bundle riotjs tag

With browserify, riotify, babelify via Gulp 4

Without .babelrc file. Babel presets for babelify plugin added to package.json

"babel": {
  "presets": [
    "es2015-riot"
  ]
}

install the dependencies

$ npm run setup

build app

$ gulp app

###Important points

Short design into riotjs tag file

shortFn() {
	// code...
}

generates an error when you build the browserify and webpack, use this

this.shortFn = () => {
    // code...
}

About

build riotjs tags with browserify


Languages

Language:JavaScript 100.0%