Closed
Description
Describe the bug
The README says that
import Inspect from 'vite-plugin-inspect'
export default {
plugins: [
Inspect()
],
}
should work. When I do that, I get:
TypeError: (0 , import_vite_plugin_inspect.default) is not a function
The following works but doesn't match the README:
import Inspect from 'vite-plugin-inspect'
export default {
plugins: [
Inspect.default()
],
}
Reproduction
See the description
System Info
Node 18
Vite 5.0.4
Vite Plugin Inspect 0.8.0
Bun 1.0.14
Used Package Manager
bun
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.