Closed
Description
I'm getting this error coming from this package:
require is not defined in ES module scope, you can use import instead This file is being treated as an ES module because it has a '.js' file extension and './node_modules/bootstrap-icons-vue/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
I think it appeared with a Vite update, but I can't be really sure. Any idea if there's something I can do in my config to fix this, or if the package needs to be updated?
Metadata
Metadata
Assignees
Labels
No labels