Skip to content

Change PWA manifest settings #4055

Closed
Closed
@ri-ch

Description

@ri-ch

Is this a bug report?

No

How do i change the values of the manifest.json file? At present my build command appears to copy the template manifest.json directly to the output.

Activity

heyimalex

heyimalex commented on Feb 22, 2018

@heyimalex
Contributor

What are you expecting to happen? I think that yeah public/manifest.json is copied directly to build/manifest.json.

ri-ch

ri-ch commented on Feb 22, 2018

@ri-ch
Author

At the moment i just have a post build step that copies my own manifest.json file over the default one. I wondered if there was any way to generate it from the package.json or similar.

heyimalex

heyimalex commented on Feb 22, 2018

@heyimalex
Contributor

Hm, can you just modify public/manifest.json? Apart from index.html, I think that everything from public is just copied over with no magic, and you're free to modify anything already there as you see fit.

Timer

Timer commented on Mar 5, 2018

@Timer
Contributor

Modify the file in public/manifest.json; if you need to modify it, a Node script in your postbuild npm-script would be the best option.

locked and limited conversation to collaborators on Jan 20, 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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Timer@ri-ch@heyimalex

        Issue actions

          Change PWA manifest settings · Issue #4055 · facebook/create-react-app