-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token: ';' #657
Comments
@emilos hey, can you comment this?) |
@inikonorov I'm trying to reproduce this again, but without much luck :) going to try again now. |
@inikonorov ok, I've found it. I've added a skipped spec here c1e570d if you want to have a look :) thanks! |
@inikonorov this makes a lot of sense, good find! This seems to be a wider problem, I think same issue would happen if we would have a I think the right solution for this, is to do something like this inside of the const CODE_TAGS = ['style', 'script']
// ...
if (CODE_TAGS.includes(tag)) {
fragment.children.forEach(node => {
node.skipDataOptimization = true
})
}
// ...
if (this.variables.length > 0 && !fragment.skipDataOptimization) {
// ...
} |
okay, 'll do this today :) |
Seems to work correctly, but shows an error in the console:
The text was updated successfully, but these errors were encountered: