mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +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',
|
name: 'nuxt:pages-macros-transform',
|
||||||
enforce: 'post',
|
enforce: 'post',
|
||||||
transformInclude (id) {
|
transformInclude (id) {
|
||||||
const query = parseMacroQuery(id)
|
return !!parseMacroQuery(id).macro
|
||||||
id = normalize(id)
|
|
||||||
|
|
||||||
return !!query.macro
|
|
||||||
},
|
},
|
||||||
transform (code, id) {
|
transform (code, id) {
|
||||||
const query = parseMacroQuery(id)
|
const query = parseMacroQuery(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user