Skip to content

If project root contains firebase.json, copy it to dist/ upon building #305

Closed

Description

@jelbourn

The presence of a firebase.json file indicates that the app is hosted on firebase. It would be very convenient to simply copy that file, if it exists, to the dist/ directory in order to deploy from there.

Activity

  1. zackarychapple commented on Mar 17, 2016

    @zackarychapple
    Contributor

    Maybe we should also be generating the firebase.json if a firebase project is selected. Kind of how Ionic does ionic install ios we can use ng install firebase or ng deploy firebase

  2. filipesilva commented on Mar 17, 2016

    @filipesilva
    Contributor

    Following the example of https://github.com/IgorMinar/angular-cli-github-pages, I suppose we'll have a ng firebase:deploy via addon.

  3. hansl commented on Mar 18, 2016

    @hansl
    Contributor

    @jelbourn do you need the firebase.json file to be at the root of the project?

  4. jelbourn commented on Mar 18, 2016

    @jelbourn
    ContributorAuthor

    Not need, but that seems like the most natural place to put it

  5. filipesilva commented on Jul 27, 2016

    @filipesilva
    Contributor

    This is solved by putting firebase.json in the public/ dir, the contents of which are directly copied to dist/ root.

  6. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort1: easy (hours)featureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions