Home › Forums › Report Bugs › Undefined vars in "use strict" mode with webpack › Reply To: Undefined vars in "use strict" mode with webpack
@tonichazigz,
Apologies for the inconvenience caused. The issue seems to be due to the breaking changes in Webpack that was introduced in v2.2.0-rc.5 since when you can mix require and export whereas you can’t mix import and module.exports. Please take a look at this sample project that works fine with Webpack 2.4.1.
— Vishwas R Team CanvasJS