Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 7859d43

Browse files
committed
feat(generator): remove unnecessary tauri config
1 parent fd39002 commit 7859d43

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

generator/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ module.exports = async api => {
1111
})
1212

1313
init({
14-
directory: api.resolve('.')
14+
directory: api.resolve('.'),
15+
customConfig: {
16+
build: null
17+
}
1518
})
1619

1720
api.extendPackage({

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ module.exports = (api, options) => {
4747

4848
return dev({
4949
build: {
50+
// Has to be a string, value doesn't matter
51+
distDir: '',
5052
devPath: server.url
5153
}
5254
})
@@ -83,6 +85,8 @@ module.exports = (api, options) => {
8385

8486
build({
8587
build: {
88+
// Has to be a string, value doesn't matter
89+
devPath: '',
8690
distDir: '../dist_tauri/bundled'
8791
}
8892
})

0 commit comments

Comments
 (0)