@hono/cli 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,6 +255,8 @@ hono optimize [entry] [options]
|
|
|
255
255
|
**Options:**
|
|
256
256
|
|
|
257
257
|
- `-o, --outfile <outfile>` - Output file
|
|
258
|
+
- `-m, --minify` - minify output file
|
|
259
|
+
- `-t, --target [target]` - environment target
|
|
258
260
|
|
|
259
261
|
**Examples:**
|
|
260
262
|
|
|
@@ -267,6 +269,9 @@ hono optimize -o dist/app.js src/app.ts
|
|
|
267
269
|
|
|
268
270
|
# Export bundled file with minification
|
|
269
271
|
hono optimize -m
|
|
272
|
+
|
|
273
|
+
# Specify environment target
|
|
274
|
+
hono optimize -t es2024
|
|
270
275
|
```
|
|
271
276
|
|
|
272
277
|
## Tips
|