-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When installing the 1.7.0 version released yesterday and importing the css like:
import "@uploadcare/react-uploader/core.css";
The module will break.
This is because, the exports in 1.7.0 are :
"exports": {
".": {
"import": "./dist/react-uploader.js",
"require": "./dist/react-uploader.cjs"
},
"./next": {
"import": "./dist/nextjs.js",
"require": "./dist/nextjs.cjs",
"types": "./dist/nextjs.d.ts"
},
"./core.css": "./dist/style.css"
},
but there is no more style.css as it was changed for some reason to react-uploader.css.
Either revert the react-uploader.css to style.css or export the correct file.
Expected behavior
Code / screenshots
Environment
- Library version:
- Language/framework version:
- OS version:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working