diff --git a/core/shorthands.js b/core/shorthands.js index 0b3e507c..a982d780 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -201,7 +201,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': `resources/materialize/1.0.0/${channelPath}`, 'bundle': 'Materialize' }; - } else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)/.test(CompleteURL)) { + } else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)$/.test(CompleteURL)) { let version = CompleteURL.slice(-1); lastVersion = targets.setLastVersion(`/vue/${version}.`); if (lastVersion === false) {