Skip to content

Commit

Permalink
Added babel lint, created initial file that gets bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjburrows committed Jul 3, 2016
1 parent b3cf142 commit d5bf2ba
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Empty file added app/index.js
Empty file.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="UTF-8">
<title>React/Redux HTML5 Player</title>
</head>
<body>
<h1>React/Redux HTML5 Player</h1>
<div id="app"></div>
<script src="/bundle.js" type="text/javascript"></script>
</body>
</html>
1 change: 1 addition & 0 deletions package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"devDependencies": {
"babel-core": "^6.9.0",
"babel-eslint": "^6.1.0",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
entry: "./scripts/app.js",
entry: './app/index.js',
output: {
path: __dirname,
filename: "bundle.js"
filename: 'bundle.js'
},
module: {
loaders: [{
Expand Down

0 comments on commit d5bf2ba

Please sign in to comment.