flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[FEATURE REQUEST] Flavor support for web

Open TimBaumgart opened this issue 3 years ago • 1 comments

:speech_balloon: Description

I am implementing flavors for web using this example. For flavoring my web builds I am creating one web-folder for each flavor and copy it on top of the default web folder before building my web app. Therefore I want my icons to be saved in a folder that I can specify in the config file.

For example:

web:
  generate: true
  output_path: web_prod

Thanks for considering this. Cheers!

:question: Platform

Web

TimBaumgart avatar Oct 14 '22 07:10 TimBaumgart

I am just seeing, that there is a prefix option just for web apps. My first problem is, that this option is not documented and difficult to work with. The second problem is, that the existence of flavored config files overrides the use of the --file option. Because of that, I can't just choose a custom config file just for web builds. The new file location expects all flavors to be present. But they are not when I only want to build for a particular web flavor.

TimBaumgart avatar Oct 18 '22 13:10 TimBaumgart