NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

refactor: emit warning for invalid & in XML #1059

Closed vakrilov closed 4 years ago

vakrilov commented 4 years ago

PR Checklist

What is the current behavior?

xml-namespace-loader throws error when encounters & in attribute value.

What is the new behavior?

xml-namespace-loader will only emit warning in this case. Having && in an attribute value might happen if you have a binding expression.

nmandyam commented 4 years ago

It is worrisome to see so many warnings about code that includes JS conditions ("a && b"). Is there a way we can hide these warnings during build?