Skip to content

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

Closed
@pbastowski

Description

@pbastowski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions