When trying to resolve a non-existent symbol resolver returns _kind='css' and symbol is undefined #258
Labels
API
Programmatic API
core
Processing and transforming logic
next-major
Issues or PR related to the next major version
In this case, import.st.css has no shlomo. When calling resolver.resolve for shlomo, we get a result with _kind='css', but symbol is undefined.
Buggy code is at:
stylable/src/stylable-resolver.ts
Line 63 in e6d61bc
Should check if symbol exists, and set _kind to 'invalid' or 'unknown' otherwise.
The text was updated successfully, but these errors were encountered: