Skip to content

Conversation

@hzchirs
Copy link
Contributor

@hzchirs hzchirs commented Jan 20, 2020

Webpack require.context matches file relative path.
For example: ['./BaseXXX.vue', './BaseYYY.vue'], the path starts with './'
regex /^Base/ will get empty result.

Webpack `require.context` matches file relative path.
For example: `['./BaseXXX.vue', './BaseYYY.vue']`, the path starts with './'
regex `/^Base/` will get empty result.
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix! 👍

@NataliaTepluhina NataliaTepluhina merged commit 5679c54 into vuejs:master Jan 22, 2020
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

Successfully merging this pull request may close these issues.

2 participants