24 行
372 B
JavaScript
24 行
372 B
JavaScript
'use strict';
|
|
|
|
// https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
|
|
module.exports = {
|
|
js2svg: {
|
|
eol: 'lf',
|
|
finalNewline: false,
|
|
indent: '\t'
|
|
},
|
|
multipass: true,
|
|
plugins: [
|
|
{
|
|
name: 'preset-default',
|
|
params: {
|
|
overrides: {
|
|
removeViewBox: false
|
|
}
|
|
}
|
|
},
|
|
'removeRasterImages',
|
|
'sortAttrs'
|
|
]
|
|
};
|