0.1.6 • Published 9 months ago
farmup v0.1.6
feature
- cross import CommonJs and EsModule
- watch mode
- support html
Setup
pnpm i farmupor install global
pnpm i -g farmupGet Started
run js/ts file
farmup index.tsrun html file, because farm is used, even if it is html, it will automatically compile the referenced js and ts files.
farmup index.htmlbuild and exec, but it can only-build
farmup build index.ts
# only-build
farmup build index.ts --no-execroadmap
- support more entry file (without execute)
- define multiple configurations within a single configuration file.
- provide more convenient configuration for package library.
- Integration of some built-in plugins (e.g:
dts) - more cli options
- sourcemap
- ignore some watch file
- support monorepo?
- execute without output file
- cjs
- esm
option
see here