Css 盖茨比失败了

Css 盖茨比失败了,css,gatsby,netlify,Css,Gatsby,Netlify,节点12 运行Gatbsy构建 我犯的错误 ERROR #98123 WEBPACK Generating JavaScript bundles failed Module parse failed: Unexpected character '' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this fi

节点12 运行Gatbsy构建

我犯的错误

 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Module parse failed: Unexpected character '' (1: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
(Source code omitted for this binary file)

File: src/styles/plugins/rs-plugin-6.custom/css/rs6.css:1:0


 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Unexpected character '' (1:0)

File: src/styles/plugins/rs-plugin-6.custom/css/openhand.cur:1:0
我跟踪到这个错误,css文件和这一行

rs-carousel-wrap {
    cursor:url(openhand.cur), move;
}

有什么东西我需要导入才能让它识别盖茨比中的css吗?

根据我的评论,在对项目结构进行一些研究之后,这个问题已经通过使用相对路径解决了

这就是诀窍:

cursor:URL("./openhand.cur"), move;

你能提供关于错误的更多细节吗?仅从输出来看,无法猜测问题来自何处。什么是r6.css?你的网页配置如何?谢谢你的回复。css是一个css文件,它附带了一个包,我正试图配置到gatsby中@你能分享一下吗?似乎有什么奇怪的地方。你试过使用相对路径吗?光标:URL./openhand.cur,移动`成功了,谢谢@费兰比鲁