Skip to content

farm-fe/farmup

Repository files navigation

Farmup

easy run your TypeScript、JavaScript or html

powered by Farm


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?
  • execute without output file
    • cjs
    • esm

option

see here