You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the angular.json "@storybook/angular:build-storybook" builder, prod mode is not used like I would expect.
To Reproduce
Reproducible with unmodified sandbox project.
npx storybook@next sandbox angular-cli/default-ts
sandbox created with defaults, switch to the new project and run yarn install
yarn build-storybook
Open the project in a browser.
Navigate to the stories of an Angular component.
Check the browser console output.
Browser console logs an information that it's running in development mode: "Angular is running in development mode. Call enableProdMode() to enable production mode."
Describe the bug
Follow-Up for #16211 as requested in #16211 (comment), as it still applies in SB 7.
To Reproduce
Reproducible with unmodified sandbox project.
npx storybook@next sandbox angular-cli/default-ts
yarn install
yarn build-storybook
Browser console logs an information that it's running in development mode: "Angular is running in development mode. Call enableProdMode() to enable production mode."
System
Additional context
Workaround from #16211 (comment) still works.
The text was updated successfully, but these errors were encountered: