Make build process repeatable. Fixes #7
Previously when you ran `npm run build`, it would change index.html in a way that prevented you from running `npm run build` again. This change makes the builder more sophisticated, ensuring that START and STOP markers stay in the index.html file, letting you re-run the command.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
<link href='css/railscasts.css' rel='stylesheet' />
|
||||
</head>
|
||||
<body>
|
||||
<div id='app'>APP</div>
|
||||
<!--START--><div id='app'></div><!--STOP-->
|
||||
<script src='bundle.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user