-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
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
Cannot use typeface in a webpack-with-sass-loader setup #199
Comments
I think I figured it out (also notice in my setup I use
|
This solved my problem almost perfectly. I'd also been excluding the Thanks for sharing your solution! |
How can I use
typeface-source-sans-pro
in a webpack project that laveragessass-loader
?The current documentation is too sparse to make me understand what to do.
I did
npm install --save typeface-source-sans-pro
.And then?
In my
src/app.scss
, I have added@import 'typeface-source-sans-pro';
But then the webpack build fails with
Error: Can't resolve './files/source-sans-pro-300.woff2' in 'C:\Users\Abdull\git\webpack-demo\src'
The text was updated successfully, but these errors were encountered: