#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"
]
}
$ npm run setup
$ 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...
}