mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-03 00:21:34 +03:00
This commit is contained in:
parent
4b54cc1564
commit
0c141f4922
@ -64,6 +64,11 @@ const getTauriConfig = (cfg: Partial<TauriConfig>): TauriConfig => {
|
||||
cfg as any
|
||||
) as TauriConfig
|
||||
|
||||
if (!config.build.devPath || !config.build.distDir) {
|
||||
error('Missing required build configuration in your tauri.conf.json file. Please make sure to add the proper path configuration as described at https://github.com/tauri-apps/tauri/wiki/05.-Tauri-Integration#src-tauritauriconfjson.')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const runningDevServer = config.build.devPath && config.build.devPath.startsWith('http')
|
||||
if (!runningDevServer) {
|
||||
config.build.devPath = appPaths.resolve.tauri(config.build.devPath)
|
||||
|
Loading…
Reference in New Issue
Block a user