gulp-babel
gulp-babel copied to clipboard
"exports is not defined" error using gulp-babel
I have this error in the browser in the file that was compiled via gulp-babel. The part from the gulp task is .pipe(babel({ presets: ['@babel/preset-env'], plugins: [ ["@babel/plugin-transform-classes"]] }))
Facing same issue, I guess transpiling for "amd" is not happening even after setting modules options as "amd".