feat(generator): remove unnecessary tauri config

This commit is contained in:
Noah Klayman
2019-12-31 15:29:31 -08:00
parent fd39002175
commit 7859d43190
2 changed files with 8 additions and 1 deletions

View File

@@ -11,7 +11,10 @@ module.exports = async api => {
})
init({
directory: api.resolve('.')
directory: api.resolve('.'),
customConfig: {
build: null
}
})
api.extendPackage({

View File

@@ -47,6 +47,8 @@ module.exports = (api, options) => {
return dev({
build: {
// Has to be a string, value doesn't matter
distDir: '',
devPath: server.url
}
})
@@ -83,6 +85,8 @@ module.exports = (api, options) => {
build({
build: {
// Has to be a string, value doesn't matter
devPath: '',
distDir: '../dist_tauri/bundled'
}
})