This is hanging on browserify bundle() with error message:
Adjacent JSX elements must be wrapped in an enclosing tag
//
//chart.js
//
import core from "./core";
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
var helloz = "hi";
</script>
// MY GULP
// BUNDLE ES6 MODULES
gulp.task('modules', function() {
// BUNDLE CHART.JS FILE
browserify({ // browserify traverses dependency tree
entries: './public/_assets/source/js/chart.js',
debug: true
})
.transform(babelify) // transpiled source to ES5
.bundle() // bundle
.pipe(source('custom_chart_bundle.js')) // write to a file using vinyl-source-stream
.pipe(gulp.dest('./public/_assets/build/js')); // to this path
});