8000 fix(nuxt): remove unused `normalize` call · nuxt/nuxt@14bf2b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14bf2b0

Browse files
committed
fix(nuxt): remove unused normalize call
1 parent b702adc commit 14bf2b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/nuxt/src/pages/page-meta.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ export const PageMetaPlugin = createUnplugin((options: PageMetaPluginOptions) =>
4040
name: 'nuxt:pages-macros-transform',
4141
enforce: 'post',
4242
transformInclude (id) {
43-
const query = parseMacroQuery(id)
44-
id = normalize(id)
45-
46-
return !!query.macro
43+
return !!parseMacroQuery(id).macro
4744
},
4845
transform (code, id) {
4946
const query = parseMacroQuery(id)

0 commit comments

Comments
 (0)
0