I'm importing css in _app file in next js.
import 'react-multi-carousel/lib/styles.css';
when trying to build I get error:
./node_modules/react-multi-carousel/lib/styles.css
HookWebpackError: Module parse failed: Unexpected character '' (1:4)
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
(Source code omitted for this binary file)
-- inner error --
Error: Module parse failed: Unexpected character '' (1:4)
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
(Source code omitted for this binary file)
Generated code for /Users/sahejmaharjan/NextJs/preparie/node_modules/react-multi-carousel/lib/revicons.woff
I'm importing css in _app file in next js.
import 'react-multi-carousel/lib/styles.css';
when trying to build I get error: