]> source.dussan.org Git - gitea.git/commit
Avoid vue warning in dev mode (#29188)
authorsilverwind <me@silverwind.io>
Fri, 16 Feb 2024 02:27:45 +0000 (03:27 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 02:27:45 +0000 (02:27 +0000)
commite9a1ffba2c294f74d985870e9b7b5b07e9000857
tree3e433b16ecd4aa49091bd9c2300807abb3668701
parent8f9c9d3a5fa185f4a61f71e49f15b6d5e611b44a
Avoid vue warning in dev mode (#29188)

`vue` currently outputs a warning for this undefined variable during
development, which is apparently caused by a bug in `vue-cli`.
Workaround by setting this variable.

Ref: https://github.com/vuejs/vue-cli/pull/7443
Ref: https://stackoverflow.com/a/77765007/808699
webpack.config.js