FLUTTER ECOSYSTEM

build_web_compilers

Builder implementations wrapping the dart2js and DDC compilers.

Latest version
4.5.1
30-day downloads
172.8K
Likes
43
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

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
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add build_web_compilers

Categories

Source repository

Related projects