Open
Description
Hi @fedosejev
I believe there is an error in the definition of gulpfile.js.
The file I believe the correct definition is:
It's probably all wrong:
it must be like this if we want it to render also with the syntax of jsx:
const gulp = require ('gulp');
const browserify = require ('browserify');
const reactify = require ('reactify');
const babelify = require ('babelify')
const source = require ('vinyl-source-stream');
gulp.task ('default', function () {
return browserify ('./ source / app.jsx')
.transform (reactify)
.transform (babelify)
.bundle ()
.pipe (source ( 'snapterest.js'))
.pipe (gulp.dest ( './ build /'))
})
Missing addition of .transform (babelify), after transform (reactify).
What do you think about it?
Thank you so much
Metadata
Assignees
Labels
No labels
Activity