From 3518583676bcfe1ec3f1369f430f4151a1c0af4f Mon Sep 17 00:00:00 2001 From: AskingQuestions <18402381+AskingQuestions@users.noreply.github.com> Date: Mon, 23 Dec 2019 14:46:37 -0500 Subject: [PATCH 1/2] Typo fix --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 0bdf2d4c6..316c45de0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -185,7 +185,7 @@ var component = normalizer( // from the devtools. code += `\ncomponent.options.__file = ${JSON.stringify(rawShortFilePath.replace(/\\/g, '/'))}` } else if (options.exposeFilename) { - // Libraies can opt-in to expose their components' filenames in production builds. + // Libraries can opt-in to expose their components' filenames in production builds. // For security reasons, only expose the file's basename in production. code += `\ncomponent.options.__file = ${JSON.stringify(filename)}` } From d2d44a0c79e4ab6b5bbf2e77fc15ad468612ebcc Mon Sep 17 00:00:00 2001 From: AskingQuestions <18402381+AskingQuestions@users.noreply.github.com> Date: Mon, 23 Dec 2019 15:05:42 -0500 Subject: [PATCH 2/2] Fix typo in componentNormalizer --- lib/runtime/componentNormalizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime/componentNormalizer.js b/lib/runtime/componentNormalizer.js index 6e2e9e764..676e993e3 100644 --- a/lib/runtime/componentNormalizer.js +++ b/lib/runtime/componentNormalizer.js @@ -71,7 +71,7 @@ export default function normalizeComponent ( // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook - // register for functioal component in vue file + // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context)