-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Environment info
firebase-tools:
13.30.0
Platform:
Ubuntu
Test case
- Create a firebase.json with two
hostingtargets: one using webframeworks and one normal (i.e. "target: framey" withsourceand "target: classic" withpublic). - Attempt
firebase deploy --only hosting:classic
Steps to reproduce
(same as test case above)
Expected behavior
Deploy of "classic" target to succeed. Of course a deploy of hosting:framey should fail... but I wouldn't expect classic to fail because it doesn't use webframeworks.
Actual behavior
Deployment errors out with "Cannot deploy a web framework from source because the experiment webframeworks is not enabled. To enable webframeworks run firebase experiments:enable webframeworks."
I suspect this line is the problem. The tools shouldn't be asserting webframeworks whenever any target requires it... it should only be asserting it for the specific target if it uses it.