build_web_compilers 0.3.2 build_web_compilers: ^0.3.2 copied to clipboard
Builder implementations wrapping Dart compilers.
0.3.2 #
- Dart2JS now has minification (
--minify
) enabled by default, similar to how it worked inpub build
. If you are adding customdart2js
options, make sure you still keep the--minify
flag. Here is an example:
targets:
$default:
builders:
build_web_compilers|entrypoint:
generate_for:
- web/**.dart
options:
compiler: dart2js
dart2js_args:
- --fast-startup
- --minify
- --trust-type-annotations
- --trust-primitives
0.3.1 #
- Cast failures will now be ignored in dartdevc by default (these were enabled
in the latest sdk), and added an
ignore_cast_failures
option to thebuild_web_compilers|entrypoint
builder which you can set totrue
to enable them.- At some point in the future it is expected that the default for this will flip.
0.3.0+1 #
- Fixed an issue with
dart2js
and the--no-source-maps
flag.
0.3.0 #
Breaking changes #
- Split
ModuleBuilder
,UnlinkedSummaryBuilder
andLinkedSummaryBuilder
into a separatebuild_modules
package.
0.2.1+1 #
- Support the latest
analyzer
package.
0.2.1 #
- All dart files under
test
are now compiled by default instead of only the_browser_test.dart
files (minus vm/node test bootstrap files). This means the original tests can be debugged directly (prior to package:test bootstrapping). - Updated to
package:build
version0.12.0
.
0.2.0 #
New Features #
- Added support for
dart2js
. This can be configured using the top levelcompiler
option for thebuild_web_compilers|entrypoint
builder. The supported options aredartdevc
(the default) anddart2js
. Args can be passed todart2js
using thedart2js_args
option. For example:
targets:
<my_package>:
builders:
build_web_compilers|entrypoint:
options:
compiler: dart2js
dart2js_args:
- --minify
Breaking Changes #
- Renamed
ddc_bootstrap
builder toentrypoint
, the exposed class also changed fromDevCompilerBootstrapBuilder
toWebEntrypointBuilder
. - Renamed
jsBootstrapExtension
toddcBootstrapExtension
since it is only required when using the dev compiler.
0.1.1 #
- Mark
ddc_bootstrap
builder withbuild_to: cache
. - Publish as
build_web_compilers
0.1.0 #
- Add builder factories.
- Fixed temp dir cleanup bug on windows.
- Enabled support for running tests in --precompiled mode.
0.0.1 #
- Initial release with support for building analyzer summaries and DDC modules.