Move bundle to excluded folder
This commit is contained in:
parent
a1be829b1c
commit
24dd71ca39
2 changed files with 3 additions and 3 deletions
|
@ -25,8 +25,8 @@
|
|||
"watchify": "^2.1.1"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "watchify -o public/bundle.min.js -v -d public/script.jsx",
|
||||
"postinstall": "browserify public/script.jsx | uglifyjs -cm > public/bundle.min.js"
|
||||
"start": "watchify -o public/dist/bundle.min.js -v -d public/script.jsx",
|
||||
"postinstall": "browserify public/script.jsx | uglifyjs -cm > public/dist/bundle.min.js"
|
||||
},
|
||||
"browserify": {
|
||||
"transform": [
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<div id="content"></div>
|
||||
|
||||
<script type="text/javascript" src="bundle.min.js"></script>
|
||||
<script type="text/javascript" src="dist/bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in a new issue