cloud-mta-build-tool
cloud-mta-build-tool copied to clipboard
Replace `--production` by `--omit=dev`
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