1
votes

I'm working on a Flutter web app and would like to add some web-specific PWA resources such as icons, manifest file, service worker,...

I've tried to put these files in the /web folder but they're not copied into build/web/ when performing a release build with flutter build web.

What is the right approach to deploy these resources?

1

1 Answers

0
votes

This seems to be fixed in the latest versions of Flutter (1.20.0). Previously I had setup a script that did this copy manually, but it's not required anylonger.