inovua / reactdatagrid

Empower Your Data with the best React Data Grid there is
https://reactdatagrid.io
Other
3.45k stars 57 forks source link

Community edition css import fails #363

Open jpninanjohn opened 1 year ago

jpninanjohn commented 1 year ago

Community

5.9.3

What you did:

Added the dependency using yarn add @inovua/reactdatagrid-community --save Added the css import in my index.js -> import '@inovua/reactdatagrid-community/index.css';

What happened:


ERROR in ./node_modules/@inovua/reactdatagrid-community/index.css 8:0
Module parse failed: Unexpected token (8:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|  */
| 
> .inovua-react-toolkit-checkbox {
|     -webkit-user-select: none;
|     user-select: none;
 @ ./src/index.js 4:0-51

webpack 5.70.0 compiled with 1 error and 1 warning in 1154 ms

There is no point in me trying to replicate this in another app. I need to know whats wrong here. Is it webpack causing the issue ? Why is this css not getting loaded ?