Skip to content

v4.2.0

Choose a tag to compare

@kellymears kellymears released this 24 May 14:31

v4.2.0 adds the override method. Relatedly, there are two new hooks: before and after, which are called directly before and after the config is generated. override is just a wrapper around after.

You can now specify publicPath using a callback. See the setPublicPath docs.

By default, bud now uses a memory based cache implementation. Filesystem caching is still superior, but it is no longer the default implementation because of its inherent complexity (it may not work for all configs). We recommend that you try calling bud.persist() in your config file to see if filesystem caching works for your project. In the future, hopefully persistent caching can be made the default again.

Details

  • Add: override method (parity with mix api)
  • Add: before hook (parity with mix api, used by override)
  • Add: after hook (parity with mix api)
  • Improve: Allow for setting publicPath with a function callback
  • Improve: Allow for freely disabling/enabling persist
  • Improve: error display in the cli
  • Improve: cache interface
  • Remove: the last imports of definitions from @roots/bud-typings.
  • Fix: fatal errors for non git repos and git repos without commits
  • Fix: eslint extension caching when using persist
  • @roots/sage: add @roots/bud-eslint plugin