# See https://docs.netlify.com/configure-builds/file-based-configuration/ # Settings in the [build] context are global and are applied to # all contexts unless otherwise overridden by more specific contexts. [build] # Directory to change to before starting a build. # This is where we will look for package.json/.nvmrc/etc. # If not set, defaults to the root directory. #base = "" # Directory that contains the deploy-ready HTML files and # assets generated by the build. This is relative to the base # directory if one has been set, or the root directory if # a base has not been set. This sample publishes the directory # located at the absolute path "root/project/build-output" publish = "storybook-static/" # Default build command. command = "npm ci; cp .env-dist .env; npm run build-storybook" environment = { NODE_VERSION = "20.9.0", NPM_VERSION = "10.2.4" }