Permalink
Browse files

Devember 10 - Committed a day late

But not a dollar short.  I would have added this yesterday, but I forgot
to.  Just noticed it now.  Mea culpa.  Time for day 11.
  • Loading branch information...
jasonlotito committed Dec 11, 2016
1 parent e7b5fa1 commit 895461579eec5ef0091546a376b630acf4a56858
View
@@ -0,0 +1,3 @@
+{
+ "presets": ["es2015", "react"]
+}
View
@@ -12,10 +12,15 @@
"babel": "^6.5.2",
"babel-cli": "^6.18.0",
"babel-loader": "^6.2.8",
- "webpack": "^1.13.3"
+ "babel-preset-es2015": "^6.18.0",
+ "babel-preset-react": "^6.16.0",
+ "react-router": "^3.0.0",
+ "webpack": "^1.14.0"
},
"scripts": {
- "start": "node index.js"
+ "start": "node index.js",
+ "dev": "webpack -d --watch",
+ "build": "webpack -p"
},
"author": "Jason Lotito <jasonlotito@gmail.com>",
"license": "ISC"
View
@@ -7,14 +7,14 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Devember</title>
<link rel="stylesheet" href="/css/main.css">
- <script src="https://unpkg.com/react@15.3.2/dist/react.js"></script>
- <script src="https://unpkg.com/react-dom@15.3.2/dist/react-dom.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
- <script src="https://npmcdn.com/react-router@2.4.0/umd/ReactRouter.min.js"></script>
+ <!--<script src="https://unpkg.com/react@15.3.2/dist/react.js"></script>-->
+ <!--<script src="https://unpkg.com/react-dom@15.3.2/dist/react-dom.js"></script>-->
+ <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>-->
+ <!--<script src="https://npmcdn.com/react-router@2.4.0/umd/ReactRouter.min.js"></script>-->
</head>
<body>
<div id="content"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
-<script src="/js/main.js" type="text/babel"></script>
+<script src="/js/bundle.js"></script>
</body>
</html>
Oops, something went wrong.

0 comments on commit 8954615

Please sign in to comment.