Skip to content

Assets created by the build should not be included in your Git repository #1

Description

@Aarush-Goyal

Adding the dist in the git repo can result in breaking changes in different environments.

This can be easily fixed by adding the /dist in the .gitignore file.


Fix :

.gitignore

/dist

The dist would be built when the app is going to be deployed by using the npm run build or yarn build scripts or as specified in the package.json

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions