alias: e
can custom exec, select the exec method by default through the suffix of the file
- html use server star
- ts\js use node
farmup index.ts -e node
farmup index.ts -e cat- option:
cjs|esm
farmup --format cjs index.tsfarmup --minify index.tscustom specify farm config, for more, see farm config
by default, it automatically finds the configuration
if you not use local config, use --no-config option
option:node、browser, more see targetEnv
define your production environment
alias:w
add extra watch files, support glob pattern
set external package or path
default:true
in your code, if not find package or source, set external
default:undefined- option:
boolean|'inline'|'all'|'all-inline'
generate sourcemap
- option:
boolean
disable exec esm without output to filesystem