-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
User Jbelich
committed
Jan 27, 2019
1 parent
1d2ead4
commit 867aa6e
Showing
10 changed files
with
858 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.*/ | ||
node_modules* | ||
*-lock.json | ||
dist/* | ||
*.bundle.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = function (api) { | ||
const presets = [ "@babel/preset-env","@babel/preset-react" ]; | ||
const plugins = [ 'react-hot-loader/babel', '@babel/plugin-proposal-class-properties' ]; | ||
|
||
api.cache(false); | ||
|
||
return { | ||
presets, | ||
plugins | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react' | ||
import { render } from 'react-dom' | ||
import App from 'App' | ||
|
||
const root = document.createElement('div') | ||
document.body.appendChild(root) | ||
|
||
render(<App />, root) |
Oops, something went wrong.