Skip to content

Commit 8fa299d

Browse files
committed
Add .babelrc & .gitignore files
1 parent 4d7964d commit 8fa299d

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.babelrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"presets": ["@babel/env", "@babel/react"],
3+
"plugins": [
4+
"@babel/plugin-proposal-class-properties",
5+
"@babel/plugin-transform-runtime"
6+
],
7+
"env": {
8+
"production": {
9+
"presets": [
10+
[
11+
"@babel/env",
12+
{
13+
"modules": false
14+
}
15+
]
16+
]
17+
}
18+
}
19+
}

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

0 commit comments

Comments
 (0)