react-native-unistyles 3.0.0-nightly-20250320 → 3.0.0-nightly-20250324
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin/index.js +1 -1
package/package.json
CHANGED
package/plugin/index.js
CHANGED
@@ -778,7 +778,7 @@ function index_default() {
|
|
778
778
|
}
|
779
779
|
state.file.hasAnyUnistyle = true;
|
780
780
|
addStyleSheetTag(path, state);
|
781
|
-
const arg = path.node.arguments[0];
|
781
|
+
const arg = t6.isAssignmentExpression(path.node.arguments[0]) ? path.node.arguments[0].right : path.node.arguments[0];
|
782
782
|
if (t6.isObjectExpression(arg)) {
|
783
783
|
const detectedDependencies = getStylesDependenciesFromObject(path);
|
784
784
|
if (detectedDependencies) {
|