diff --git a/src/index.ts b/src/index.ts index 995e46d1e..168ae8b8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -195,7 +195,7 @@ const loader: webpack.loader.Loader = function(source: string) { 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 += `\nscript.__file = ${JSON.stringify(path.basename(resourcePath))}` }