mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
build: enable sourcemaps for renderer
- change vite host to localhost ip
This commit is contained in:
parent
a3590bbc5b
commit
d5fc729d27
@ -67,7 +67,7 @@ async function buildRendererProcessSource() {
|
||||
await vite.build({
|
||||
base: `/${base}`,
|
||||
root: path.join(root, 'src'),
|
||||
build: { outDir },
|
||||
build: { outDir, sourcemap: true },
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
@ -7,7 +7,7 @@ import { getMainProcessCommonConfig } from './helpers.mjs';
|
||||
|
||||
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';
|
||||
process.env['NODE_ENV'] = 'development';
|
||||
process.env['VITE_HOST'] = '0.0.0.0';
|
||||
process.env['VITE_HOST'] = '127.0.0.1';
|
||||
process.env['VITE_PORT'] = 6969;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user