We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50240ee commit 30fc41fCopy full SHA for 30fc41f
index.js
@@ -3,10 +3,10 @@ var loaderUtils = require('loader-utils');
3
var compiler = require('vue-template-compiler');
4
5
module.exports = function (content) {
6
- var options = loaderUtils.getOptions(this) || {};
7
- var svgo = new svg({
8
- plugins: options.svgo || [{removeDoctype: true}, {removeComments: true}],
9
- });
+ var options = loaderUtils.getOptions(this) || {
+ plugins: [{removeDoctype: true}, {removeComments: true}],
+ };
+ var svgo = new svg(options);
10
11
this.cacheable && this.cacheable(true);
12
this.addDependency(this.resourcePath);
0 commit comments