> build
> remix build
info building... (NODE_ENV=development)
info built (975ms)
▲ [WARNING] Comparison using the "!==" operator here is always true [equals-new-object]
build/index.js:50496:46:
50496 │ ...ibuteName && [attributeName] !== from || !attributeName && s...
╵ ~~~
Equality with a new object is always false in JavaScript because the equality operator tests object identity. You need to write code to compare the contents of the object instead. For example, use "Array.isArray(x) && x.length === 0" instead of "x === []" to test for an empty array.
Your worker has access to the following bindings:
- Analytics Engine Datasets:
- WEB_COUNTER_AE: metricsDataset
- Vars:
- VERSION: "(hidden)"
▲ [WARNING] Comparison using the "!==" operator here is always true [equals-new-object]
build/index.js:50496:46:
50496 │ ...ibuteName && [attributeName] !== from || !attributeName && s...
╵ ~~~
Equality with a new object is always false in JavaScript because the equality operator tests object identity. You need to write code to compare the contents of the object instead. For example, use "Array.isArray(x) && x.length === 0" instead of "x === []" to test for an empty array.