docs(web): document --source-maps flag and deployment security - #13651
Conversation
Add documentation for the --source-maps CLI flag and deployment security practices to web deployment and WebAssembly documentation pages. - Add --source-maps usage and public hosting security warning to deployment/web.md - Add Wasm production debugging section and trade-offs to platform-integration/web/wasm.md Closes #13650
There was a problem hiding this comment.
Code Review
This pull request adds documentation for generating and managing source maps in Flutter web deployments, including Wasm production debugging. It covers the --source-maps and --no-strip-wasm flags, and warns against publicly hosting source maps. The review feedback suggests correcting the JSON syntax in the firebase.json example to use double quotes for the ignore key.
|
Staged preview of the updated docs.flutter.dev site (updated for commit b32374c): https://flutter-docs-prod--docs-pr13651-web-source-maps-docs-yymcse5z.web.app |
|
Staged preview of the updated flutter.dev site (updated for commit b32374c): https://flutter-dev-230821--www-pr13651-web-source-maps-docs-w9hfi3ck.web.app |
conooi
left a comment
There was a problem hiding this comment.
some minor suggestions but lgtm!
Add documentation for the --source-maps CLI flag and deployment security practices to web deployment and WebAssembly documentation pages.
Add --source-maps usage and public hosting security warning to deployment/web.md
Add Wasm production debugging section and trade-offs to platform-integration/web/wasm.md
Closes #13650