We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1fb81d + 0b33530 commit 36af01cCopy full SHA for 36af01c
src/index.ts
@@ -197,7 +197,7 @@ const loader: webpack.loader.Loader = function(source: string) {
197
rawShortFilePath.replace(/\\/g, '/')
198
)}`
199
} else if (options.exposeFilename) {
200
- // Libraies can opt-in to expose their components' filenames in production builds.
+ // Libraries can opt-in to expose their components' filenames in production builds.
201
// For security reasons, only expose the file's basename in production.
202
code += `\nscript.__file = ${JSON.stringify(path.basename(resourcePath))}`
203
}
0 commit comments