Area of Improvement
Since the plugin uses imports from node:path and node:module storybook webpack doesn't know about these imports so add the following:
// .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
},
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
Area of Improvement
Since the plugin uses imports from
node:pathandnode:modulestorybook 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