Commit fa9376c
authored
fix(nuxt): Don't override Nuxt options if undefined (#15795)
Sometimes, the build fails because of this error: ` ERROR Cannot set
property options of #<Object> which has only a getter `
As `nuxt.options` are always defined anyway (it's also not optional in
the `Nuxt` type), we can safely delete the assertion to `{}` which
causes the error to dissapear.1 parent 9cdd2d9 commit fa9376c
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
0 commit comments