Closed jrodriguesimg closed 5 years ago
I'm using bebelify in a gulp task like this:
let stream = browserify( xtend(browserifyInc.args, { entries: "client/views/Components/VisualizationContainer.js", extensions: [".js"], paths: [ "./client/dist/", "./client/views/Components/", "./client/views/" ], transform: ["imgurify"], debug: true }) ); browserifyInc(stream, { cacheFile: "./browserify-cache.json" }); stream = stream .transform(babelify, { sourceMaps: true }) .bundle() .pipe(source("bundle.js")) .pipe(buffer());
Is ther an option of bebelify to disable the conversion of code using async/await notation?
Babelify uses Babel core's configuration. You have to disable it in your .babelrc file.
Thanks
I'm using bebelify in a gulp task like this:
Is ther an option of bebelify to disable the conversion of code using async/await notation?