Skip to content

Commit

Permalink
fix: add comment/documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
emwp committed Oct 1, 2024
1 parent 0420094 commit 14c93b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/frameworks/flutter/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ export function assertFlutterCliExists() {
* https://github.com/firebase/firebase-tools/issues/6197
*/
export function getAdditionalBuildArgs(pubSpec: Record<string, any>): string[] {
/*
These packages are known to require the --no-tree-shake-icons flag
when building for web.
More dependencies might need to add here in the future.
Related issue: https://github.com/firebase/firebase-tools/issues/6197
*/
const treeShakePackages = [
"material_icons_named",
"material_symbols_icons",
Expand Down

0 comments on commit 14c93b4

Please sign in to comment.