storybook-addon-theme-changer
Version:
A Storybook addon for switching different themes (ex. daisyUI etc.)
1 lines • 816 B
Source Map (JSON)
{"version":3,"sources":["../src/preset.ts"],"names":["viteFinal","config","webpack"],"mappings":"AAKO,IAAMA,EAAY,MAAOC,IAC9B,QAAQ,IAAI,0CAA0C,EAC/CA,GAGIC,EAAU,MAAOD,IAC5B,QAAQ,IAAI,6CAA6C,EAClDA","sourcesContent":["// You can use presets to augment the Storybook configuration\n// You rarely want to do this in addons,\n// so often you want to delete this file and remove the reference to it in package.json#exports and package.json#bunder.nodeEntries\n// Read more about presets at https://storybook.js.org/docs/addons/writing-presets\n\nexport const viteFinal = async (config: any) => {\n console.log(\"This addon is augmenting the Vite config\");\n return config;\n};\n\nexport const webpack = async (config: any) => {\n console.log(\"This addon is augmenting the Webpack config\");\n return config;\n};\n"]}