WPGulp icon indicating copy to clipboard operation
WPGulp copied to clipboard

Exports is not defined on vendor.min.js

Open CatinhoCR opened this issue 5 years ago • 3 comments

Hey there.

I am placing popper.js and bootstrap.js into the vendor folder, it compiles correctly it seems since bootstrap components are working but I get a console error (browser) that says: Uncaught ReferenceError: exports is not defined

What might this be about?? Any ideas?

Thanks for the awesome work on this project, I still am a bit new using some of these technologies but will look into ways of contributing soon.

CatinhoCR avatar Aug 01 '19 12:08 CatinhoCR

The answer is here. Simply comment the babel piping and you should be fine.

#117

robmim avatar Sep 30 '19 22:09 robmim

The answer is here. Simply comment the babel piping and you should be fine.

#117

#117 doesnt work for me

kleytoncaires avatar Feb 07 '20 04:02 kleytoncaires

The answer is here. Simply comment the babel piping and you should be fine.

#117

Doesnt work for me either

CatinhoCR avatar Feb 22 '20 11:02 CatinhoCR