cloud-mta-build-tool icon indicating copy to clipboard operation
cloud-mta-build-tool copied to clipboard

Replace `--production` by `--omit=dev`

Open swaldmann opened this issue 8 months ago • 4 comments

Description

This PR replaces all occurrences of --production in an npm context with --omit=dev.

Currently you get these warnings when deploying MTA projects with the standard npm builder: "npm warn config production Use --omit=dev instead"

The omit option was introduced with npm 8, so it's available in all supported versions.

Checklist

  • [ ] Code compiles correctly
  • [ ] Relevant tests were added (unit / contract / integration)
  • [ ] Relevant logs were added
  • [ ] Formatting and linting run locally successfully
  • [ ] All tests pass
  • [ ] UA review
  • [ ] Design is documented
  • [ ] Extended the README / documentation, if necessary
  • [ ] Open source is approved

swaldmann avatar Jun 25 '24 10:06 swaldmann