I\'m using webpack with vuejs. Webpack does its thing, but when I look at the outputted app.js file, it gives me this error.
\'import\' and \'export\
For me, this was caused by a reference to module in a hot module replacement implementation:
module
constructor() { if (module && module.hot) { module.hot.status(status => { if (status === 'dispose') { this.webSocket.close(); } }); } }