Skip to content

[firebase_hosting] Wasm is not used in Flutter Web App #13162

Answered by shrawank039
Kuhlemann asked this question in Q&A
Discussion options

You must be logged in to vote

to avoid the auto build while firebase deploy you should set the public path in your firebase.json file.

{
  "hosting": {
    "public": "build/web",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
  }
}

changing "source": "." to "public": "build/web" the automatic build will stop on firebase deploy

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shrawank039
Comment options

Answer selected by Kuhlemann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants