mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
Merge pull request #2561 from cheahjs/feat/generate-source-maps
feat: generate production source maps to assist debugging
This commit is contained in:
commit
e9c8341d38
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ export default defineConfig({
|
||||||
define: {
|
define: {
|
||||||
APP_VERSION: JSON.stringify(process.env.npm_package_version)
|
APP_VERSION: JSON.stringify(process.env.npm_package_version)
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
sourcemap: true
|
||||||
|
},
|
||||||
worker: {
|
worker: {
|
||||||
format: 'es'
|
format: 'es'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue