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

missing core-js in zero-config mode (vue serve) #837

Closed
pbastowski opened this issue Feb 14, 2018 · 0 comments
Closed

missing core-js in zero-config mode (vue serve) #837

pbastowski opened this issue Feb 14, 2018 · 0 comments

Comments

@pbastowski
Copy link
Contributor

Version

3.0.0-alpha.13

Reproduction link

Since it's zero config, it's not possible to create a reproduction in CodeSandbox, however it is easy to reproduce the bug, please see below.

Steps to reproduce

Since it's zero config, it's not possible to create a reproduction in CodeSandbox, however it is easy to reproduce the bug.

1) md test1
2) cd test1
3) echo "[1].filter(x=>x)" > main.js
4) vue serve

What is expected?

No error. App compiles and is being served.

What is actually happening?

Error in the console:

This dependency was not found:

* core-js/modules/es6.array.filter in ./main.js

To install it, you can run: npm install --save core-js/modules/es6.array.filter

If I npm install core-js in my local folder then the error disappears.

However, I was expecting Array functions to be included with standard babel presets in zero-config mode.

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