Closed noslouch closed 6 years ago
EDIT: that line from above is actually from a newer version of matches-selector
. The line in the version of matches-selector
that closest
specifies is actually this:
var proto = Element.prototype;
matches-selector
to use the node-safe version of that line.
Starting a new app and using the template provided in the docs throws an error in FastBoot:
Specifically this line from the
matches-selector
package, which is a required byclosest
:Which is intended to run in a browser environment only. I'm not exactly sure how, but can you wrap that
closest
import so that it only runs in fastboot land? This is a problem with the import, not the run-time code in this project. But I think it can be solved with a build-time adjustment.