Skip to content

Releases: dart-lang/build

0.1.1

09 Feb 15:21
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-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).

0.1.0

29 Jan 22:25
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Basic Builder api is released, and the BuilderTransformer class can be extended to run Builders in pub serve/build.