Replies: 1 comment 5 replies
-
All I can say for now is that I can easily reproduce the issue with
(Using webpack 4 though) The SCSS plugin is using |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to upgrade from Razzle 3.3.13 to Razzle 4.0.4 and Webpack 4 to Webpack 5, and there's an error that's occurring that I'm having trouble sorting out. The error relates to an import of GitHub Primer CSS and is not raised in Razzle 3.3.13.
If I squint my eyes, I suspect what's going on here is that my Razzle setup is not configured to handle the absolute path
/fonts/Inter-Regular.woff
, which is relative tonode_modules/@primer/css
.There are several lines in different files where this may be happening:
I've tried several modifications to the Webpack config in razzle.config.js, but none of them worked. I'm not a big JS developer, so I'm not really sure what to do as a next step in troubleshooting this issue. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions