mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
specify babel plugins in gulpfile so we can get rid of babelrc file
This commit is contained in:
parent
b0b709f771
commit
e4a0b9eb11
@ -24,7 +24,10 @@ gulp.task('browserify', function () {
|
||||
entries: './assets/src/js/script.js',
|
||||
debug: debug
|
||||
})
|
||||
.transform("babelify", {presets: ["es2015"]})
|
||||
.transform("babelify", {
|
||||
presets: ["es2015"],
|
||||
plugins: [ ["transform-react-jsx", { "pragma":"h" } ] ]
|
||||
})
|
||||
.bundle()
|
||||
.on('error', function(err){
|
||||
console.log(err.message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user