Skip to content

Commit d5bf2ba

Browse files
committed
Added babel lint, created initial file that gets bundled
1 parent b3cf142 commit d5bf2ba

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

app/index.js

Whitespace-only changes.

index.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en-GB">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>React/Redux HTML5 Player</title>
6+
</head>
7+
<body>
8+
<h1>React/Redux HTML5 Player</h1>
9+
<div id="app"></div>
10+
<script src="/bundle.js" type="text/javascript"></script>
11+
</body>
12+
</html>

package.json

100755100644
+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"devDependencies": {
2424
"babel-core": "^6.9.0",
25+
"babel-eslint": "^6.1.0",
2526
"babel-loader": "^6.2.4",
2627
"babel-preset-es2015": "^6.9.0",
2728
"babel-preset-react": "^6.5.0",

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
2-
entry: "./scripts/app.js",
2+
entry: './app/index.js',
33
output: {
44
path: __dirname,
5-
filename: "bundle.js"
5+
filename: 'bundle.js'
66
},
77
module: {
88
loaders: [{

0 commit comments

Comments
 (0)