mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(nuxt): remove unused normalize
call
This commit is contained in:
parent
b702adc245
commit
14bf2b02f9
@ -40,10 +40,7 @@ export const PageMetaPlugin = createUnplugin((options: PageMetaPluginOptions) =>
|
||||
name: 'nuxt:pages-macros-transform',
|
||||
enforce: 'post',
|
||||
transformInclude (id) {
|
||||
const query = parseMacroQuery(id)
|
||||
id = normalize(id)
|
||||
|
||||
return !!query.macro
|
||||
return !!parseMacroQuery(id).macro
|
||||
},
|
||||
transform (code, id) {
|
||||
const query = parseMacroQuery(id)
|
||||
|
Loading…
Reference in New Issue
Block a user