-
Notifications
You must be signed in to change notification settings - Fork 587
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
Add webpack example #96
Conversation
examples/webpack/package.json
Outdated
"name": "webpack-example", | ||
"private": true, | ||
"scripts": { | ||
"build": "webpack --config webpack.config.prod.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn"t exist yet, need to create!
@@ -1,64 +1,3 @@ | |||
// For bundled font faces, we start with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol, thank you
I believe your order of |
Includes a webpack example to test integration with a common build system.
Also updates the
generate
helpers to build the files in the correct order, so no need to create the manual file that orders them (I think). It also generates alocal()
block for each@font-family
.Finally, it introduces the idea of
$font-prefix
that lets you specify a path in yourscss
that will be the prefix for theurl()
of the individual@font-face
declarations.