Skip to content

Commit

Permalink
fix($core): do not transpile core packages' dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Aug 12, 2019
1 parent 9939ea6 commit b69b107
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -145,7 +145,7 @@ module.exports = function createBaseConfig (context, isServer) {
return false
}
// transpile all core files
if (/(@vuepress|vuepress-)\/.*\.js$/.test(filePath)) {
if (/(@vuepress|vuepress-)\/^((?!node_modules).)*\.js$/.test(filePath)) {
return false
}
// Don't transpile node_modules
Expand Down

0 comments on commit b69b107

Please sign in to comment.