mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
fix(vite): hide source map from client (#905)
* fix(vite): hide source map from client * refactor(client/package.json): change dev to development for uniformity with api
This commit is contained in:
parent
3410a8033d
commit
00b9138aa8
2 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ export default defineConfig({
|
|||
plugins: [react(), sourcemapExclude({ excludeNodeModules: true })],
|
||||
publicDir: './public',
|
||||
build: {
|
||||
sourcemap: true,
|
||||
sourcemap: process.env.NODE_ENV === 'development',
|
||||
outDir: './dist',
|
||||
rollupOptions: {
|
||||
// external: ['uuid'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue