mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-17 15:20:24 +08:00
Add toasts to UI (#25449)
Fixes https://github.com/go-gitea/gitea/issues/24353 In some case like async success/error, it is useful to show toasts in UI.
This commit is contained in:
@ -73,6 +73,12 @@ export default {
|
||||
'eventsource.sharedworker': [
|
||||
fileURLToPath(new URL('web_src/js/features/eventsource.sharedworker.js', import.meta.url)),
|
||||
],
|
||||
...(!isProduction && {
|
||||
devtest: [
|
||||
fileURLToPath(new URL('web_src/js/standalone/devtest.js', import.meta.url)),
|
||||
fileURLToPath(new URL('web_src/css/standalone/devtest.css', import.meta.url)),
|
||||
],
|
||||
}),
|
||||
...themes,
|
||||
},
|
||||
devtool: false,
|
||||
|
Reference in New Issue
Block a user