uncaught referenceerror exports is not defined visual studio?
Why you get 'exports is undefined' is due to Visual Studio transpiling to use commonjs modules. ... The transpiled class using commonjs will include lines like this at the top and bottom of the . js file: Object.