Skip to content

ES5 transpiling issue, No output at all #195

Description

@ViswanathL

No output or error is given on gulp-babel during gulp task

Below are the package versions

"@babel/core": "7.7.4",
"@babel/preset-env": "7.7.4",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-cli": "^2.0.1",

Usage

gulp.task('obfuscate', async () => {
return gulp
.src([
'index.js',
])
.pipe(babel({
presets: ['es2015'],
compact: true
}))
.pipe(gulp.dest('dist'));
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions