react-images-upload icon indicating copy to clipboard operation
react-images-upload copied to clipboard

unexpected token '.'for index.css

Open jerome-diver opened this issue 4 years ago • 2 comments

Babel is not happy the way you import index.css in my application. It does works one time, but no more now... i have no clue why, but i think it is in relation with the fact i use a SSR web site code, and the way you are including .css file should be unaccepted in client side. Do you have an idea how to fix this ?

jerome-diver avatar Aug 12 '21 01:08 jerome-diver

Same here breaks on .fileUploader `node_modules\react-images-upload\index.css:1 .fileUploader { ^

SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:984:16) at Module._compile (internal/modules/cjs/loader.js:1032:27) at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)`

PaulAtkins88 avatar Sep 09 '21 01:09 PaulAtkins88

Facing the same issue. Any fix ?

haroonali72 avatar Dec 04 '21 11:12 haroonali72