@gluestack-style/babel-plugin-styled-resolver
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -26,2 +26,7 @@ var fs=require('fs');var path=require('path');var esbuild=require('esbuild');var OUTPUT_FILE=`./.gluestack/config-${process.ppid}.js`;var MOCK_LIBRARY=`./mock-${process.ppid}.js`;function getConfigPath(){var isConfigJSExist=fs.existsSync(path.join(process.cwd(),'./gluestack-style.config.js'));var isGlueStackUIConfigJSExist=fs.existsSync(path.join(process.cwd(),'./gluestack-ui.config.js'));var isConfigTSExist=fs.existsSync(path.join(process.cwd(),'./gluestack-style.config.ts'));var isGlueStackUIConfigTSExist=fs.existsSync(path.join(process.cwd(),'./gluestack-ui.config.ts'));if(isConfigJSExist)return'./gluestack-style.config.js';if(isConfigTSExist)return'./gluestack-style.config.ts';if(isGlueStackUIConfigJSExist)return'./gluestack-ui.config.js';if(isGlueStackUIConfigTSExist)return'./gluestack-ui.config.ts';}var mockLibrary=`const react = { | ||
}, | ||
FontResolver: class { | ||
constructor(...args) { | ||
return args; | ||
} | ||
} | ||
}; | ||
@@ -28,0 +33,0 @@ const expoHtmlElements = { |
{ | ||
"name": "@gluestack-style/babel-plugin-styled-resolver", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A gluestack-style babel plugin that transpiles your styled function calls and resolves the component styling in build time.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -53,2 +53,7 @@ const fs = require('fs'); | ||
}, | ||
FontResolver: class { | ||
constructor(...args) { | ||
return args; | ||
} | ||
} | ||
}; | ||
@@ -55,0 +60,0 @@ const expoHtmlElements = { |
112422
2071