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

refactor: 💡 change config key from 'svgoOptions' to 'svgo' #36

Merged
merged 6 commits into from
Jun 23, 2022

Conversation

cpsoinos
Copy link
Owner

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jun 22, 2022

🦋 Changeset detected

Latest commit: cbd56af

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nuxt-svgo Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

BREAKING CHANGE: 🧨 Nuxt config key is now 'svgo', instead of 'svgoOptions'
As discussed in
damianstasik/vue-svg-loader#156,
'vue-svg-loader' uses svgo v1. That project looks to be unmaintained,
with the latest beta release more than 2 years old. This PR disables the
svgo functionality of vue-svg-loader, instead relying on svg/svgo-loader
to perform optimizations, essentially making vue-svg-loader wrap the svg
content in template tags.

✅ Closes: #37
@cpsoinos cpsoinos merged commit a6c8ca0 into main Jun 23, 2022
@cpsoinos cpsoinos deleted the nuxt-config-options branch June 23, 2022 21:17
@github-actions github-actions bot mentioned this pull request Jun 23, 2022
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.

1 participant