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