We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ae524 commit 034ee20Copy full SHA for 034ee20
babel.config.js
@@ -1,3 +1,14 @@
1
module.exports = {
2
- presets: ['module:metro-react-native-babel-preset'],
+ presets: ["module:metro-react-native-babel-preset"],
3
+ plugins: [
4
+ [
5
+ "module-resolver",
6
+ {
7
+ alias: {
8
+ "@react-native-community/netinfo": "./js"
9
+ },
10
+ cwd: "babelrc"
11
+ }
12
+ ]
13
14
};
package.json
@@ -1,4 +1,3 @@
-
{
"name": "react-native-androidprogressbar",
"version": "1.0.0",
@@ -14,5 +13,8 @@
"license": "",
15
"peerDependencies": {
16
"react-native": "^0.41.2"
17
+ "dependencies": {
18
+ "babel-plugin-module-resolver": "^3.2.0"
19
}
20
0 commit comments