Skip to content

v0.1.0

Choose a tag to compare

@lukeed lukeed released this 25 Mar 20:34
· 22 commits to master since this release

Breaking

  • Now uses esbuild instead of rollup for bundling: 7015697, f60251d
    This only affects the config.build function hook, if you had been using it.

  • Now requires Node 12.10+ runtime: 7e6d20d, b895c12
    Previously was only a Node 10.x requirement

  • Only ship cfw as an ESM file: ed0a4b7, 09c49ab
    Because Node 12.10+ is now required, there's no need to ship a CommonJS runtime (or both)

Features

  • Support cfw.cjs and cfw.mjs config files: 62f93f4
  • Add TypeScript definition file for Config interface: b6999a8
  • Throw build error if config.build() produces invalid configuration: 37a839a

Chores

  • (build) Update "build errors" message: 08c9945
  • (utils) use Set for worker argv filters: b68a41f
  • (utils) Merge exists & assert helpers: 402c8f4
  • Bump typescript version: d0e4ae7
  • Inject $$VERSION$$ at build time: 7945050
  • Convert bin.js to TypeScript main entry: bf06dec
  • Replace premove with fs.rmdir native: b895c12