You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
upgrade: 清理和升级依赖 (#396)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
const path = require('node:path')
|
||||
const { defineConfig } = require('@vue/cli-service')
|
||||
const webpack = require('webpack')
|
||||
|
||||
const publishUrl = process.env.VUE_APP_PUBLISH_URL
|
||||
const publishProvider = process.env.VUE_APP_PUBLISH_PROVIDER
|
||||
console.log('Publish url:', publishUrl)
|
||||
|
||||
module.exports = {
|
||||
module.exports = defineConfig({
|
||||
pages: {
|
||||
index: {
|
||||
entry: 'src/main.js',
|
||||
@@ -32,6 +33,9 @@ module.exports = {
|
||||
},
|
||||
pluginOptions: {
|
||||
electronBuilder: {
|
||||
mainProcessFile: './src/background.js',
|
||||
// Ref: https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/1891
|
||||
customFileProtocol: './',
|
||||
externals: [
|
||||
'@mihomo-party/sysproxy',
|
||||
'@mihomo-party/sysproxy-win32-ia32-msvc',
|
||||
@@ -111,4 +115,4 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user