Running cmf build is quite slow because it always performs a restore (install packages/modules/dependencies) and builds with production flags (brotli compression, release mode).
To be able to use cmf build during development, and also to facilitate generating packages outside of our pipelines, such as directly by a customer, it would be nice to:
Add --norestore flag, which skips installing the dependencies. This would keep backwards compatibility, while also allowing the user to perform faster builds after the initial one
Add --dev flag, which would build things in debug mode rather than production mode. This would make the build command much faster, enabling the tool to be used for local development workflows.
Running
cmf build
is quite slow because it always performs a restore (install packages/modules/dependencies) and builds with production flags (brotli compression, release mode).To be able to use
cmf build
during development, and also to facilitate generating packages outside of our pipelines, such as directly by a customer, it would be nice to:--norestore
flag, which skips installing the dependencies. This would keep backwards compatibility, while also allowing the user to perform faster builds after the initial one--dev
flag, which would build things in debug mode rather than production mode. This would make the build command much faster, enabling the tool to be used for local development workflows.