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 fcf2af6 commit ec9999fCopy full SHA for ec9999f
lib/module.js
@@ -3,7 +3,7 @@ const logger = require('consola').withScope('nuxt-svg-loader')
3
export default function nuxtSvgLoader() {
4
const { svgLoader: options } = this.options
5
6
- if (options.svgo && !options.svgoConfig) {
+ if (options && options.svgo && !options.svgoConfig) {
7
options.svgoConfig = options.svgo
8
}
9
0 commit comments