Skip to content

Commit

Permalink
fix: module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Brentlok committed Dec 16, 2024
1 parent 64c1887 commit 3c6b3c7
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 15 deletions.
3 changes: 2 additions & 1 deletion components/native/ActivityIndicator/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/ActivityIndicator.js"
"main": "../../../lib/commonjs/components/native/ActivityIndicator.js",
"module": "../../../lib/module/components/native/ActivityIndicator.js"
}
3 changes: 2 additions & 1 deletion components/native/FlatList/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/FlatList.js"
"main": "../../../lib/commonjs/components/native/FlatList.js",
"module": "../../../lib/module/components/native/FlatList.js"
}
3 changes: 2 additions & 1 deletion components/native/Image/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/Image.js"
"main": "../../../lib/commonjs/components/native/Image.js",
"module": "../../../lib/module/components/native/Image.js"
}
3 changes: 2 additions & 1 deletion components/native/ImageBackground/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/ImageBackground.js"
"main": "../../../lib/commonjs/components/native/ImageBackground.js",
"module": "../../../lib/module/components/native/ImageBackground.js"
}
3 changes: 2 additions & 1 deletion components/native/KeyboardAvoidingView/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/KeyboardAvoidingView.js"
"main": "../../../lib/commonjs/components/native/KeyboardAvoidingView.js",
"module": "../../../lib/module/components/native/KeyboardAvoidingView.js"
}
1 change: 1 addition & 0 deletions components/native/Pressable/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"main": "../../../lib/commonjs/components/native/Pressable.js",
"module": "../../../lib/module/components/native/Pressable.js",
"react-native": "../../../lib/commonjs/components/native/Pressable.native.js"
}
3 changes: 2 additions & 1 deletion components/native/RefreshControl/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/RefreshControl.js"
"main": "../../../lib/commonjs/components/native/RefreshControl.js",
"module": "../../../lib/module/components/native/RefreshControl.js"
}
3 changes: 2 additions & 1 deletion components/native/ScrollView/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/ScrollView.js"
"main": "../../../lib/commonjs/components/native/ScrollView.js",
"module": "../../../lib/module/components/native/ScrollView.js"
}
3 changes: 2 additions & 1 deletion components/native/SectionList/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/SectionList.js"
"main": "../../../lib/commonjs/components/native/SectionList.js",
"module": "../../../lib/module/components/native/SectionList.js"
}
3 changes: 2 additions & 1 deletion components/native/Switch/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/Switch.js"
"main": "../../../lib/commonjs/components/native/Switch.js",
"module": "../../../lib/module/components/native/Switch.js"
}
3 changes: 2 additions & 1 deletion components/native/Text/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/Text.js"
"main": "../../../lib/commonjs/components/native/Text.js",
"module": "../../../lib/module/components/native/Text.js"
}
3 changes: 2 additions & 1 deletion components/native/TextInput/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/TextInput.js"
"main": "../../../lib/commonjs/components/native/TextInput.js",
"module": "../../../lib/module/components/native/TextInput.js"
}
3 changes: 2 additions & 1 deletion components/native/TouchableHighlight/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/TouchableHighlight.js"
"main": "../../../lib/commonjs/components/native/TouchableHighlight.js",
"module": "../../../lib/module/components/native/TouchableHighlight.js"
}
3 changes: 2 additions & 1 deletion components/native/TouchableOpacity/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/TouchableOpacity.js"
"main": "../../../lib/commonjs/components/native/TouchableOpacity.js",
"module": "../../../lib/module/components/native/TouchableOpacity.js"
}
3 changes: 2 additions & 1 deletion components/native/View/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/View.js"
"main": "../../../lib/commonjs/components/native/View.js",
"module": "../../../lib/module/components/native/View.js"
}
3 changes: 2 additions & 1 deletion components/native/VirtualizedList/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"main": "../../../lib/commonjs/components/native/VirtualizedList.js"
"main": "../../../lib/commonjs/components/native/VirtualizedList.js",
"module": "../../../lib/module/components/native/VirtualizedList.js"
}

0 comments on commit 3c6b3c7

Please sign in to comment.