2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/frappe.conf.js
2018-10-22 23:40:22 +05:30

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'
}
}
}