Open acharlop opened 1 month ago
Since the plugin uses imports from node:path and node:module storybook webpack doesn't know about these imports so add the following:
node:path
node:module
// .storybook/main.(j|t)s webpackFinal: async (config) => { // ... any other webpack stuff config.externals = config.externals || {} Object.assign(config.externals, { 'node:path': 'path', 'node:module': 'module', }) return config },
No response
Package versions
@uploadthing/react: ^7.0.3 => 7.0.3 uploadthing: ^7.1.0 => 7.1.0
Can be a good callout to make in https://docs.uploadthing.com/concepts/theming#configuring-tailwind-css
Area of Improvement
Since the plugin uses imports from
node:path
andnode:module
storybook webpack doesn't know about these imports so add the following:Link to related docs
No response
Additional information
Package versions
@uploadthing/react: ^7.0.3 => 7.0.3 uploadthing: ^7.1.0 => 7.1.0
๐จโ๐งโ๐ฆ Contributing