Skip to content

Instantly share code, notes, and snippets.

@EricMcWinNer
Last active April 1, 2022 21:47
Show Gist options
  • Save EricMcWinNer/25aadc7a656685a0697a4b82ffbfdc8b to your computer and use it in GitHub Desktop.
Save EricMcWinNer/25aadc7a656685a0697a4b82ffbfdc8b to your computer and use it in GitHub Desktop.
Storybook configuration
module.exports = {
// ... other settings we don't care about now
async viteFinal(config, { configType }) {
config.base = ''; // './' also works, but i like "assets/.." urls better than "./assets/..." urls.
return config;
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment