Skip to content

Created to test environment variable usage in the Storybook config file.

Notifications You must be signed in to change notification settings

jhoffmcd/storybook-test-build-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storybook-test-build-script

Created to test environment variable usage in the Storybook config file.

  • process.env.NODE_ENV works as expected with start-storybook
  • process.env.NODE_ENV doesnt not work as expected with build-storybook

@storybook/[email protected] with Babel 7 config.

You can also test the usage of STORYBOOK_BUILD env var with the provided NPM scripts in package.json and the commented out code block in the .storybook/config.js file.

About

Created to test environment variable usage in the Storybook config file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published