You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alright, I am getting the error Uncaught ReferenceError: exports is not defined in console after I was able to run my project via babel.config.js file by the below mentioned configuration
module.exports = { presets: ["@vue/app"], plugins: ["transform-vue-jsx"] };
I'm using Vue CLI generated project for this. Although the repo mentions use of .babelrc file, but config.babel.js is already defined. If you notice I've skipped the preset env here. Adding this preset alongwith @vue/app crashes my project.
How can I address the message in console?
Using Vue CLI version 3.0.3 and Vue version - 2.5.17
The text was updated successfully, but these errors were encountered:
Alright, I am getting the error
Uncaught ReferenceError: exports is not defined
in console after I was able to run my project via babel.config.js file by the below mentioned configurationmodule.exports = { presets: ["@vue/app"], plugins: ["transform-vue-jsx"] };
I'm using Vue CLI generated project for this. Although the repo mentions use of .babelrc file, but config.babel.js is already defined. If you notice I've skipped the preset
env
here. Adding this preset alongwith@vue/app
crashes my project.How can I address the message in console?
Using Vue CLI version 3.0.3 and Vue version - 2.5.17
The text was updated successfully, but these errors were encountered: