mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-20 09:11:55 +03:00
8df78e29b6
* shift example and slim config removed gatsby-source-airtable and gatsby-theme-recipes to make things more simple, less fragile and speed up the build * update action to point at new location * update links * add test articles * add theme * slim config, move to homepage folder * update renovate path, enable automerge on examples * turn off rebases, but keep on for examples
33 lines
639 B
JavaScript
33 lines
639 B
JavaScript
const path = require('path')
|
|
const distDir = path.resolve(__dirname, './public')
|
|
|
|
module.exports = function () {
|
|
return {
|
|
build: {
|
|
distDir: distDir,
|
|
devPath: 'http://localhost:8000' // devServer URL or html dir
|
|
},
|
|
ctx: {},
|
|
tauri: {
|
|
embeddedServer: {
|
|
active: true
|
|
},
|
|
bundle: {
|
|
active: true
|
|
},
|
|
whitelist: {
|
|
all: false
|
|
},
|
|
window: {
|
|
title: 'Tauri App'
|
|
},
|
|
security: {
|
|
csp: 'default-src data: filesystem: ws: http: https: \'unsafe-eval\' \'unsafe-inline\''
|
|
},
|
|
edge: {
|
|
active: true
|
|
}
|
|
}
|
|
}
|
|
}
|