Skip to content

Commit d93bce2

Browse files
committed
Setting up demo build
1 parent 3344eda commit d93bce2

15 files changed

+2807
-18
lines changed

β€Ž.babelrcβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"presets": ["es2015", "react", "stage-0"],
3-
"plugins": ["add-module-exports", "react-hot-loader/babel"],
3+
"plugins": ["add-module-exports"],
44
"env": {
55
"development": {
6-
"presets": [
7-
"react-hmre"
8-
]
6+
"presets": ["react-hmre"],
7+
"plugins": ["react-hot-loader/babel"]
98
}
109
}
1110
}

β€Ždemo/index.htmlβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<html>
22
<head>
3-
<title>My awesome React component</title>
3+
<title>react-mde</title>
44
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
55
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
6-
<link rel='stylesheet' href=''/>
76
</head>
87
<body>
98
<div>
109
<div id="#app_container"></div>
1110
</div>
12-
<script src='/bundle.js'></script>
11+
<script src='bundle.js'></script>
1312
</body>
1413
</html>

β€Ždemo/index.prod.htmlβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<html>
2+
<head>
3+
<title>react-mde</title>
4+
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
5+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
6+
<link rel='stylesheet' href='bundle.css'/>
7+
</head>
8+
<body>
9+
<div>
10+
<div id="#app_container"></div>
11+
</div>
12+
<script src='bundle-prod.js'></script>
13+
</body>
14+
</html>

β€Ždocs/bundle-prod.jsβ€Ž

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždocs/bundle.cssβ€Ž

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždocs/fontawesome-webfont.eotβ€Ž

162 KB
Binary file not shown.

β€Ždocs/fontawesome-webfont.svgβ€Ž

Lines changed: 2671 additions & 0 deletions
Loading

β€Ždocs/fontawesome-webfont.ttfβ€Ž

162 KB
Binary file not shown.
95.7 KB
Binary file not shown.
75.4 KB
Binary file not shown.

0 commit comments

Comments
Β (0)