@@ -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()
|
||||||
|
|
||||||
|
|||||||
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user