We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm trying to use @import in the css but I get an error 'Module not found. Example:
Layout.js import s from './Layout.css';
Layout.css @import "base/_variables";
When I replace the css import with "/base/_variables"; I no longer get the error but on page load the following shows up in the debug console:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/base/_variables".
I'm assuming it's an issue with the webpack config?
Any assistance would be greatly appreciated.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying to use @import in the css but I get an error 'Module not found. Example:
Layout.js
import s from './Layout.css';
Layout.css
@import "base/_variables";
When I replace the css import with "/base/_variables"; I no longer get the error but on page load the following shows up in the debug console:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/base/_variables".
I'm assuming it's an issue with the webpack config?
Any assistance would be greatly appreciated.
Thanks in advance!
The text was updated successfully, but these errors were encountered: