Merge pull request #209 from MattMcFarland/master

Fixes for #160
This commit is contained in:
Yoshua Wuyts
2016-08-03 15:44:31 +02:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
</head> </head>
<body> <body>
<script src="../../dist/choo.min.js"></script> <script src="../../dist/choo.min.js"></script>
<script src="../../dist/html.min.js"></script>
<script> <script>
const app = choo() const app = choo()
+6
View File
@@ -22,6 +22,9 @@ build_dev () {
-g yo-yoify \ -g yo-yoify \
-g es2020 \ -g es2020 \
> dist/choo.js > dist/choo.js
NODE_ENV=development browserify html.js \
--standalone=html \
> dist/html.js
} }
build_min () { build_min () {
@@ -37,6 +40,9 @@ build_min () {
-p bundle-collapser/plugin \ -p bundle-collapser/plugin \
| uglifyjs \ | uglifyjs \
> dist/choo.min.js > dist/choo.min.js
NODE_ENV=production browserify html.js \
--standalone=html \
> dist/html.min.js
} }
build_gz () { build_gz () {