Skip to content

Commit c6ab80f

Browse files
committed
fix: fix regenerator-runtime import for global service
fixes vuejs#2648
1 parent 6d26c75 commit c6ab80f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vue/cli-service-global/lib/globalConfigPlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = function createConfigPlugin (context, entry, asLib) {
2424
config.resolve
2525
.alias
2626
.set('core-js', path.dirname(require.resolve('core-js')))
27+
.set('regenerator-runtime', path.dirname(require.resolve('regenerator-runtime')))
2728

2829
// ensure loaders can be resolved properly
2930
// this is done by locating vue's install location (which is a

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy