Closed adi-dora closed 6 months ago
It could be an issue from vite, the package.json
exports are defined like this:
"exports": {
".": {
"require": "./dist/index.umd.js",
"import": "./dist/index.mjs",
"types": "./dist/types/index.d.ts"
},
"./*.css": "./dist/*.css",
"./src/*": "./src/*"
}
Try modifying this line "./*.css": "./dist/*.css"
by "./style.css": "./dist/style.css"
OK yes, that does fix it for me locally, thank you! But, when I actually deploy, the same error persists because the version of the module that gets installed still has the issue. Do you have any fix for this?
I'm running the VuePDF module and when I try importing the style.css like the documentation, I get an error:
Here's my code:
Any advice would be helpful, thanks!