mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
change build dir
This commit is contained in:
@@ -4,3 +4,4 @@ out
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.eslintcache
|
.eslintcache
|
||||||
*.log*
|
*.log*
|
||||||
|
release
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
appId: org.jeffvli.feishin
|
appId: org.jeffvli.feishin
|
||||||
productName: Feishin
|
productName: Feishin
|
||||||
artifactName: ${productName}-${version}-${os}-setup.${ext}
|
artifactName: ${productName}-${version}-${os}-setup.${ext}
|
||||||
|
electronVersion: 35.1.5
|
||||||
directories:
|
directories:
|
||||||
buildResources: build
|
buildResources: build
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ const currentOSEnv = process.platform;
|
|||||||
|
|
||||||
const config: UserConfig = {
|
const config: UserConfig = {
|
||||||
main: {
|
main: {
|
||||||
|
build: {
|
||||||
|
outDir: './release/app/dist/main',
|
||||||
|
},
|
||||||
define: {
|
define: {
|
||||||
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),
|
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),
|
||||||
'import.meta.env.IS_MACOS': JSON.stringify(currentOSEnv === 'darwin'),
|
'import.meta.env.IS_MACOS': JSON.stringify(currentOSEnv === 'darwin'),
|
||||||
@@ -29,6 +32,9 @@ const config: UserConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
preload: {
|
preload: {
|
||||||
|
build: {
|
||||||
|
outDir: './release/app/dist/preload',
|
||||||
|
},
|
||||||
plugins: [externalizeDepsPlugin()],
|
plugins: [externalizeDepsPlugin()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
@@ -38,6 +44,9 @@ const config: UserConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
renderer: {
|
renderer: {
|
||||||
|
build: {
|
||||||
|
outDir: './release/app/dist/web',
|
||||||
|
},
|
||||||
css: {
|
css: {
|
||||||
modules: {
|
modules: {
|
||||||
generateScopedName: '[name]__[local]__[hash:base64:5]',
|
generateScopedName: '[name]__[local]__[hash:base64:5]',
|
||||||
|
|||||||
Reference in New Issue
Block a user