mirror of
https://github.com/tauri-apps/vue-cli-plugin-tauri.git
synced 2026-02-04 10:41:18 +01:00
feat(generator): remove unnecessary tauri config
This commit is contained in:
@@ -11,7 +11,10 @@ module.exports = async api => {
|
||||
})
|
||||
|
||||
init({
|
||||
directory: api.resolve('.')
|
||||
directory: api.resolve('.'),
|
||||
customConfig: {
|
||||
build: null
|
||||
}
|
||||
})
|
||||
|
||||
api.extendPackage({
|
||||
|
||||
4
index.js
4
index.js
@@ -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'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user