jd1378/nuxt-obfuscator

Obfuscater Nuxt Build Error: v-for has invalid expression.

Closed this issue · 3 comments

I'm trying to implement the obfuscator in my project, but it is converting the expressions in my v-for:

<div v-for="(item, index) kbiquzn variable" :key="index"></div>

it is giving replace in the expression "in" replacing it with "kbiquzn"

This obfuscator is hard to pull off right to be honest
The way it works is basically it tries to replace all class names it detects between any quotes
Meaning if you have a class named in , you will have problem

The correct way would have been parsing the entire output html and replacing the class names after render, but im not sure how feasible is that

fixed in v1.1.5