@mattsjones/css-babel-plugin
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -42,3 +42,3 @@ 'use strict'; | ||
if (core.types.isObjectProperty(parent) || core.types.isReturnStatement(parent) || core.types.isArrayExpression(parent) || core.types.isSpreadElement(parent)) { | ||
if (core.types.isObjectProperty(parent) || core.types.isReturnStatement(parent) || core.types.isArrowFunctionExpression(parent) || core.types.isArrayExpression(parent) || core.types.isSpreadElement(parent)) { | ||
const names = []; | ||
@@ -45,0 +45,0 @@ path.findParent(({ |
@@ -42,3 +42,3 @@ 'use strict'; | ||
if (core.types.isObjectProperty(parent) || core.types.isReturnStatement(parent) || core.types.isArrayExpression(parent) || core.types.isSpreadElement(parent)) { | ||
if (core.types.isObjectProperty(parent) || core.types.isReturnStatement(parent) || core.types.isArrowFunctionExpression(parent) || core.types.isArrayExpression(parent) || core.types.isSpreadElement(parent)) { | ||
const names = []; | ||
@@ -45,0 +45,0 @@ path.findParent(({ |
@@ -34,3 +34,3 @@ import { relative } from 'path'; | ||
if (types.isObjectProperty(parent) || types.isReturnStatement(parent) || types.isArrayExpression(parent) || types.isSpreadElement(parent)) { | ||
if (types.isObjectProperty(parent) || types.isReturnStatement(parent) || types.isArrowFunctionExpression(parent) || types.isArrayExpression(parent) || types.isSpreadElement(parent)) { | ||
const names = []; | ||
@@ -37,0 +37,0 @@ path.findParent(({ |
{ | ||
"name": "@mattsjones/css-babel-plugin", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "dist/mattsjones-css-babel-plugin.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/mattsjones-css-babel-plugin.esm.js", |
15431