Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
fix: Disable removing viewBox attribute from svgs (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Nov 27, 2018
1 parent 002be06 commit c52e596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ const getCommonLoaders = includes => [
loader: require.resolve('svgo-loader'),
options: {
plugins: [
{ removeViewBox: false },
{ addAttributesToSVGElement: { attribute: 'focusable="false"' } }
]
}
Expand Down

0 comments on commit c52e596

Please sign in to comment.