@symbiote-native/react 0.2.0 → 0.2.1
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/metro-css-parser.cjs +4 -1
- package/package.json +2 -2
package/metro-css-parser.cjs
CHANGED
|
@@ -8,4 +8,7 @@
|
|
|
8
8
|
// the way a flat classic node_modules would). .cjs, not .js: this package is "type": "module",
|
|
9
9
|
// and Metro's babelTransformerPath loading expects a require()-able module. See the
|
|
10
10
|
// symbiote-sfc-style-compiler skill.
|
|
11
|
-
|
|
11
|
+
// createCssMetroTransformer is a factory, not a ready transformer — Metro's
|
|
12
|
+
// babelTransformerPath needs the actual {transform, getCacheKey} object it returns,
|
|
13
|
+
// not the css-parser package barrel.
|
|
14
|
+
module.exports = require('@symbiote-native/css-parser').createCssMetroTransformer();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "SymbioteNative's React adapter — a react-reconciler host config (mutation mode) driving real native iOS/Android views through stock React Native Fabric.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"react-reconciler": "^0.33.0",
|
|
39
39
|
"@symbiote-native/components": "0.2.0",
|
|
40
|
-
"@symbiote-native/css-parser": "0.
|
|
40
|
+
"@symbiote-native/css-parser": "0.2.0",
|
|
41
41
|
"@symbiote-native/engine": "0.1.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|