We use css-element-queries (actually only the ResizeSensor) in a Polymer based app. While we were able to use ResizeSensor in the dev environment, we weren't able to use it in the built artifact created by gulp and Polymer CLI.
The problem was that 'root' was undefined in the exporting part of the ResizeSensor. I accordingly changed ElementQueries.js, but didn't test the change.
We use css-element-queries (actually only the ResizeSensor) in a Polymer based app. While we were able to use ResizeSensor in the dev environment, we weren't able to use it in the built artifact created by gulp and Polymer CLI. The problem was that 'root' was undefined in the exporting part of the ResizeSensor. I accordingly changed ElementQueries.js, but didn't test the change.