diff --git a/lib/index.js b/lib/index.js index 0bdf2d4c..316c45de 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)}` } diff --git a/lib/runtime/componentNormalizer.js b/lib/runtime/componentNormalizer.js index 6e2e9e76..676e993e 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)