Skip to content

could not run well with async/await(regeneratorRuntime actually) #5559

@JounQin

Description

@JounQin

Version

2.3.0

Reproduction link

https://github.com/JounQin/vue-hackernews-2.0/blob/async-await/src/store/actions.js

Steps to reproduce

remove L1 and L9

What is expected?

I've add 'regenerator-runtime/runtime' in client and server entry, which should register global.regeneratorRuntime already.

What is actually happening?

throw Error ReferenceError: regeneratorRuntime is not defined every time


It worked before vue-server-renderer 2.3.0

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