Skip to content

Built result will be different when environment change or node_modules be reinstalled #686

@Taosky

Description

@Taosky

Describe the bug
Build result will change when reinstall node_modules.
This will lead to the problem of the source code review when the expanded store is launched.
As I encountered, when upload to firefox addon center, the code-reviewer reminded the code built result differently from the uploaded code.

To Reproduce
Steps to reproduce the behavior:

  1. npm run build
  2. Save production zip file
  3. Delete node_modules dir
  4. npm install && npm run build
  5. compare the two production file

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