@@ -4,6 +4,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<script src="../../dist/choo.min.js"></script>
|
||||
<script src="../../dist/html.min.js"></script>
|
||||
<script>
|
||||
const app = choo()
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@ build_dev () {
|
||||
-g yo-yoify \
|
||||
-g es2020 \
|
||||
> dist/choo.js
|
||||
NODE_ENV=development browserify html.js \
|
||||
--standalone=html \
|
||||
> dist/html.js
|
||||
}
|
||||
|
||||
build_min () {
|
||||
@@ -37,6 +40,9 @@ build_min () {
|
||||
-p bundle-collapser/plugin \
|
||||
| uglifyjs \
|
||||
> dist/choo.min.js
|
||||
NODE_ENV=production browserify html.js \
|
||||
--standalone=html \
|
||||
> dist/html.min.js
|
||||
}
|
||||
|
||||
build_gz () {
|
||||
|
||||
Reference in New Issue
Block a user