Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 41af4b6

Browse filesBrowse files
committed
fix: should check for type query for render function imports
1 parent b2d7ffb commit 41af4b6
Copy full SHA for 41af4b6

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/pluginWebpack5.ts

Copy file name to clipboardExpand all lines: src/pluginWebpack5.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const langBlockRuleResource = (
236236
): string => `${resource}.${query.lang}`
237237

238238
const jsRuleCheck = (query: qs.ParsedUrlQuery): boolean => {
239-
return query.lang === 'template'
239+
return query.type === 'template'
240240
}
241241

242242
const jsRuleResource = (query: qs.ParsedUrlQuery, resource: string): string =>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.