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

TypeError: $ is not a function #912

Closed
Mikilll94 opened this issue Feb 15, 2021 · 3 comments
Closed

TypeError: $ is not a function #912

Mikilll94 opened this issue Feb 15, 2021 · 3 comments

Comments

@Mikilll94
Copy link

I have the following project which is using webpack + babel + core.js

vue-webpack-test.zip

It builds fine but when I open the browser, it throws the following error

Screenshot 2021-02-15 at 22 59 19

To run the project you need to execute:

npm install
npm run dev
@zloirock
Copy link
Owner

You should not transpile core-js, add it to the exclude option of babel-loader.

@BombCowpat
Copy link

I have the same problem, add exclude: ['./node_modules'] in babel.config.js maybe work

@Ram4GB
Copy link

Ram4GB commented Jul 3, 2022

I have the same problem, add exclude: ['./node_modules'] in babel.config.js maybe work

I confirm that resolve my issue

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

4 participants