Skip to content

Commit c272b51

Browse files
committed
Adding babel.config
1 parent 2d9eda2 commit c272b51

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>react-native-progress-bar-android</name>
4+
<comment>Project react-native-progress-bar-android created by Buildship.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16+
</natures>
17+
</projectDescription>

babel.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
presets: ["module:metro-react-native-babel-preset"],
3+
plugins: [
4+
[
5+
"module-resolver",
6+
{
7+
alias: {
8+
"@react-native-community/progress-bar-android": "./js"
9+
},
10+
cwd: "babelrc"
11+
}
12+
]
13+
]
14+
};

0 commit comments

Comments
 (0)