mirror of
https://github.com/remnawave/frontend.git
synced 2026-05-13 12:16:40 +00:00
wip
Co-authored-by: Ivan <84693047+exact01@users.noreply.github.com>
This commit is contained in:
parent
19ab4ead7e
commit
7df707e36a
4 changed files with 41 additions and 5 deletions
|
|
@ -12,6 +12,7 @@ export default defineConfig({
|
|||
plugins: [react(), visualizer() as PluginOption, tsconfigPaths()],
|
||||
build: {
|
||||
target: 'esNext',
|
||||
outDir: 'dist',
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
|
|
@ -33,7 +34,7 @@ export default defineConfig({
|
|||
}
|
||||
},
|
||||
define: {
|
||||
__DOMAIN_BACKEND__: JSON.stringify(process.env.DOMAIN_BACKEND).trim(),
|
||||
__DOMAIN_BACKEND__: JSON.stringify(process.env.DOMAIN_BACKEND || 'example.com').trim(),
|
||||
__NODE_ENV__: JSON.stringify(process.env.NODE_ENV).trim()
|
||||
},
|
||||
server: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue