tauri/examples/react/gatsby-themed-site/tauri.conf.js
Jacob Bolda 8df78e29b6
slim down gatsby example, update deps (#193)
* 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
2019-12-21 00:34:36 -06:00

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
}
}
}
}