When I import
import 'antd/dist/antd.css';
these lines I got error like below.
ERROR in ./node_modules/antd/dist/antd.css 13:6
Module parse failed: Unexpected token (13:6)
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.
| /* stylelint-disable */
| /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline
*/
> [class^=ant-]::-ms-clear,
| [class*= ant-]::-ms-clear,
| [class^=ant-] input::-ms-clear,
@ ./src/index.tsx 4:0-28
Anyone please help me how to avoid this. I am using Antd for React, Typescript project with Webpack and Babel.