Move bundle to excluded folder

This commit is contained in:
Gabriel Augendre 2016-04-23 01:59:29 +02:00
parent a1be829b1c
commit 24dd71ca39
2 changed files with 3 additions and 3 deletions

View file

@ -25,8 +25,8 @@
"watchify": "^2.1.1" "watchify": "^2.1.1"
}, },
"scripts": { "scripts": {
"start": "watchify -o public/bundle.min.js -v -d public/script.jsx", "start": "watchify -o public/dist/bundle.min.js -v -d public/script.jsx",
"postinstall": "browserify public/script.jsx | uglifyjs -cm > public/bundle.min.js" "postinstall": "browserify public/script.jsx | uglifyjs -cm > public/dist/bundle.min.js"
}, },
"browserify": { "browserify": {
"transform": [ "transform": [

View file

@ -12,7 +12,7 @@
<div id="content"></div> <div id="content"></div>
<script type="text/javascript" src="bundle.min.js"></script> <script type="text/javascript" src="dist/bundle.min.js"></script>
</body> </body>
</html> </html>