Skip to content

0.1.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jakemac53 jakemac53 released this 09 Feb 15:21
· 2153 commits to master since this release

This release enables non-incremental builds, outside of the pub build/serve infrastructure.

  • Exposed the top level build function. This can be used to run builds.
    • For this release all builds are non-incremental, and delete all previous
      build outputs when they start up.
    • Creates a .build directory which should be added to your .gitignore.
  • Added resolve method to BuildStep which can give you a Resolver for an
    AssetId.
    • This is experimental and may get moved out to a separate package.
    • Resolves the full dart sdk so this is slow, first call will take multiple
      seconds. Subsequent calls are much faster though.
    • Will end up marking all transitive deps as dependencies, so your files may
      end up being recompiled often when not entirely necessary (once we have
      incremental builds).
  • Added listAssetIds to AssetReader (only matters if you implement it).
  • Added delete to AssetWriter (also only matters if you implement it).