guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
143 stars 7 forks source link

options -> template-options, bug fixes #36

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This reverts the change of template-opts to options to be back to template-options, as well as some bug fixes with direct target builds.

The global is now template-options as well without the default.

BEFORE:

[default-options.npm]
  package-manager = 'pnpm'

[[task]]
  template = 'swc'
  [task.options]
    auto-install = true
  [task.options.config]
    "jsc.parser.jsx" = true

AFTER:

[template-options.npm]
  package-manager = 'pnpm'

[[task]]
  template = 'swc'
  [task.template-options]
    auto-install = true
  [task.template-options.config]
    "jsc.parser.jsx" = true