gulp-babel icon indicating copy to clipboard operation
gulp-babel copied to clipboard

"exports is not defined" error using gulp-babel

Open pavliukpetro opened this issue 6 years ago • 1 comments

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"]] }))

pavliukpetro avatar Jan 12 '19 23:01 pavliukpetro

Facing same issue, I guess transpiling for "amd" is not happening even after setting modules options as "amd".

LAXITKUMAR avatar Feb 26 '21 18:02 LAXITKUMAR