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\
Make sure you have a .babelrc file that declares what Babel is supposed to be transpiling. I spent like 30 minutes trying to figure this exact error. After I copied a bunch of files over to a new folder and found out I didn't copy the .babelrc file because it was hidden.
{
"presets": "es2015"
}
or something along those lines is what you are looking for inside your .babelrc file