Search packages, repositories and app categories

Package detailsv4.8.12

build_web_compilers

Builder implementations wrapping the dart2js and DDC compilers.

AndroidiOSmacOSWindowsLinux
30-day downloads
258K
Likes
45
Pub points
140

Install package

flutter pub add build_web_compilers

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter/Dart package that provides builders to wrap the dart2js and DDC compilers for web development. It enables efficient compilation of Dart code into optimized JavaScript for web platforms, supporting both ahead-of-time (AOT) and just-in-time (JIT) compilation modes. This package integrates seamlessly with the build system, streamlining the web build process for Flutter apps. It is essential for developers targeting web deployment with custom compilation configurations.

Use cases

  • Web app compilation
  • Custom build pipelines
  • JIT and AOT compilation
  • Integration with build system
  • Optimized JavaScript output

Key features

  • Wraps dart2js compiler
  • Supports DDC for development
  • Integrates with build system
  • Enables web-specific builds
  • Facilitates build customization

Suitable for

  • Flutter web developers
  • Build system integrators
  • Advanced compilation workflows
  • Dart tooling contributors
  • Performance-focused web apps

Considerations

  • Requires build system setup
  • Limited standalone use
  • Dependent on build_runner
  • Not needed for basic web builds
  • May require configuration tuning

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Questions? Suggestions? Found a bug? Please file an issue or start a discussion.

Code generation for Flutter and Dart packages.

See the build_runner package documentation for how to use build_runner builders in your package to add serialization, data classes, data binding, dependency injection, mocking and more.

See the build package documentation to create your own builder.

This repo also hosts the following builders and packages for use by builders.

Categories

Dependencies

Dependency list 21 items

Source repository

Projects using this package