Command Line Flag changes in the Next Release

29 views
Skip to first unread message

Chad Killingsworth

unread,
May 5, 2021, 10:13:23 AM5/5/21
to Closure Compiler Discuss
We've removed some long deprecated flags from the command line runner that will show up in the next release. Attempting to use these flags will start generating an error. All but one of them have a newer equivalent.

The flags removed are:

  • --module (use --chunk)
  • --module_wrapper (use --chunk_wrapper)
  • --module_output_path_prefix (use --chunk_output_path_prefix)
  • --common_js_module_path_prefix (use --js_module_root)
  • --common_js_entry_module (use --entry_point)
  • --transform_amd_modules (pass is unmaintained and slated for removal)
  • --manage_closure_dependencies (use --dependency_mode=PRUNE_LEGACY)
  • --only_closure_dependencies (use --dependency_mode=PRUNE)
  • --closure_entry_point (use --entry_point)
  • --polymer_pass (use --polymer_version)
  • --output_module_dependencies (use --output_chunk_dependencies)
Removing these flags will likely require users to update their build configurations, but it simplifies the logic and support for the command line runner.
Reply all
Reply to author
Forward
0 new messages