mirror of
https://github.com/frappe/books.git
synced 2024-12-24 11:55:46 +00:00
34 lines
620 B
JavaScript
34 lines
620 B
JavaScript
|
|
module.exports = {
|
|
staticPath: './static',
|
|
distPath: './dist',
|
|
dev: {
|
|
entryHtml: 'src/index.html',
|
|
entry: {
|
|
app: './src/main.js'
|
|
},
|
|
entryHtml: './src/index.html',
|
|
srcDir: './src',
|
|
outputDir: './dist',
|
|
assetsPublicPath: '/',
|
|
devServerPort: 8000,
|
|
env: {
|
|
PORT: process.env.PORT || 8000
|
|
}
|
|
},
|
|
node: {
|
|
paths: {
|
|
main: 'server/index.js'
|
|
}
|
|
},
|
|
electron: {
|
|
entry: {
|
|
app: './src/main-electron.js'
|
|
},
|
|
paths: {
|
|
mainDev: 'src-electron/main.dev.js',
|
|
main: 'src-electron/main.js',
|
|
renderer: 'src/electron.js'
|
|
}
|
|
}
|
|
} |