Skip to content
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

Fixed 'embed' option, it will now work when set to 'true' #32

Merged
merged 6 commits into from
Sep 11, 2017

Conversation

t0mtaylor
Copy link
Contributor

  • Wired up 'embed' boolean option to 'writeFiles' ...generatorConfig will now use the value from the config using key 'embed' with a boolean of true or false - this is already documented in the readme but it did not work

  • test example config should embed font files …for best practise and performance, base64 encode files in the example - really this could be default

Please can you merge and push new version into NPM for v2.0.4 to resolve this issue :)

generatorConfig will now use the value from the config using key 'embed' with a boolean of true or false - this is already documented in the readme but it did not work
for best practise and performance, base64 encode files in the example - really this could be default
increased version to 2.0.4 as is non-breaking change
package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "webfonts-loader",
"version": "2.0.3",
"version": "2.0.4",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't update the version manually. Put it back to 2.0.3 NPM will handle it ;)

t0mtaylor and others added 3 commits September 11, 2017 09:11
added 'embed' key to 'generatorConfiguration' object, as when 'writeFiles' is set to 'true' it creates a duplicate copy of the font files in the root of the project
@t0mtaylor
Copy link
Contributor Author

Ready to merge @jeerbl 👍

@jeerbl jeerbl merged commit 9421889 into jeerbl:master Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants