farmup
v0.1.5
Published
<h1 align="center"> Farmup </h1>
Downloads
3,337
Maintainers
Readme
feature
- cross import CommonJs and EsModule
- watch mode
- support html
Setup
pnpm i farmup
or install global
pnpm i -g farmup
Get Started
run js/ts file
farmup index.ts
run html file, because farm
is used, even if it is html, it will automatically compile the referenced js and ts files.
farmup index.html
build and exec, but it can only-build
farmup build index.ts
# only-build
farmup build index.ts --no-exec
roadmap
- [ ] 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?
- [x] execute without output file
- [x] cjs
- [x] esm
option
see here