Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

unexpected token '.'for index.css #240

Open
jerome-diver opened this issue Aug 12, 2021 · 2 comments
Open

unexpected token '.'for index.css #240

jerome-diver opened this issue Aug 12, 2021 · 2 comments

Comments

@jerome-diver
Copy link

jerome-diver commented Aug 12, 2021

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 ?

@PaulAtkins88
Copy link

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)`

@haroonali72
Copy link

Facing the same issue. Any fix ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants