You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.
@rafaelescrich So I remember it was something like this:
you need to specify rules for webpack to understand how to treat specific files(font files in this case) and slam them into a folder ready to query when referencing them in the actual sass/css.
Then in your sass try referencing said files served by webpack like this: require('./fonts/font-darkenstone/darkenstone.scss');
Or something like this? maybe a .././fonts/ etc
Webpack paths can be tedious but once you get them it kinda makes sense.
Has anyone been able to bundle custom fonts with this?
I'm struggling to get my custom fonts served up in the .tmp folder, and eventually the dist, also.
webpack.conf.js
_typography.scss
Directory architecture:
package.json
conf/
^--webpack.conf.js
dist/
gulp_tasks/
gulpfile.js
src/
^--app/
^---assets/
^----fonts/
^-----MuseoSlab-500.eot
The text was updated successfully, but these errors were encountered: