svgo: update configuration for 2.4 syntax (#14524)
This commit is contained in:
parent
d42909401f
commit
cde458b56a
1 changed files with 9 additions and 6 deletions
|
|
@ -1,11 +1,14 @@
|
||||||
/* global require, module */
|
/* global module */
|
||||||
const { extendDefaultPlugins } = require('svgo');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: extendDefaultPlugins([
|
plugins: [
|
||||||
{
|
{
|
||||||
name: 'removeViewBox',
|
name: 'preset-default',
|
||||||
active: false,
|
params: {
|
||||||
|
overrides: {
|
||||||
|
removeViewBox: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]),
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue