Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: exports is not defined #156

Open
kvedantmahajan opened this issue Oct 5, 2018 · 0 comments
Open

Uncaught ReferenceError: exports is not defined #156

kvedantmahajan opened this issue Oct 5, 2018 · 0 comments

Comments

@kvedantmahajan
Copy link

kvedantmahajan commented Oct 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant