Nuxt.js: nuxt-svg: Unexpected '.svg' rule in the webpack configuration

Created on 27 Aug 2020  路  2Comments  路  Source: nuxt/nuxt.js

Versions

  • nuxt: v2.14.4
  • node: v14.8.0

Reproduction


Additional Details


{
mode: 'universal',
target: 'static',
modules: [
'@nuxtjs/svg'
]
}

Steps to reproduce

Run command nuxt dev or nuxt generate

What is Expected?

Success

What is actually happening?

ERROR nuxt-svg: Unexpected '.svg' rule in the webpack configuration

bug-report

Most helpful comment

See fix here: https://github.com/nuxt-community/svg-module/pull/57

Just update @nuxtjs/svg and all should be well 馃檭

All 2 comments

nuxt

Same issue after updating from 2.14.3 to 2.14.4.
I've seen others mentioning the same problem in the Nuxt discord as well.

See fix here: https://github.com/nuxt-community/svg-module/pull/57

Just update @nuxtjs/svg and all should be well 馃檭

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredreich picture jaredreich  路  3Comments

danieloprado picture danieloprado  路  3Comments

gary149 picture gary149  路  3Comments

surmon-china picture surmon-china  路  3Comments

bimohxh picture bimohxh  路  3Comments