build: --editor-optimize option for environments