1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-26 12:38:04 +03:00
tauri/examples/vanillajs/monolith/tauri.conf.js

31 lines
608 B
JavaScript
Raw Normal View History

const path = require('path')
const distDir = path.resolve(__dirname, './dist')
module.exports = function () {
return {
build: {
distDir: distDir,
devPath: 'http://localhost:4000' // devServer URL or html dir
},
ctx: {},
tauri: {
embeddedServer: {
active: true
},
bundle: {
active: true
},
whitelist: {
all: true
},
window: {
title: 'Tauri App'
},
security: {
csp: 'default-src data: filesystem: ws: http: https: \'unsafe-eval\' \'unsafe-inline\''
}
},
edge: true
}
}