diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index 3425715d8..83a0a65f1 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -281,9 +281,9 @@ export default { ctx.loaders.vue.compilerOptions = { modules: [ { - preTransformNode(astEl) { + preTransformNode(abstractSyntaxTreeElement) { if (!ctx.isDev) { - const { attrsMap, attrsList } = astEl + const { attrsMap, attrsList } = abstractSyntaxTreeElement tagAttributesForTesting.forEach(attribute => { if (attrsMap[attribute]) { delete attrsMap[attribute] @@ -292,7 +292,7 @@ export default { } }) } - return astEl + return abstractSyntaxTreeElement }, }, ],