2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/frappe.conf.js

34 lines
620 B
JavaScript
Raw Normal View History

2018-07-29 11:50:10 +00:00
module.exports = {
2018-08-10 12:12:18 +00:00
staticPath: './static',
distPath: './dist',
dev: {
2018-09-29 07:23:16 +00:00
entryHtml: 'src/index.html',
2018-08-10 12:12:18 +00:00
entry: {
app: './src/main.js'
2018-07-29 11:50:10 +00:00
},
2018-10-15 12:05:54 +00:00
entryHtml: './src/index.html',
srcDir: './src',
2018-08-10 12:12:18 +00:00
outputDir: './dist',
assetsPublicPath: '/',
devServerPort: 8000,
env: {
PORT: process.env.PORT || 8000
}
},
node: {
paths: {
main: 'server/index.js'
}
},
electron: {
2018-10-20 12:32:01 +00:00
entry: {
app: './src/main-electron.js'
},
2018-08-10 12:12:18 +00:00
paths: {
mainDev: 'src-electron/main.dev.js',
main: 'src-electron/main.js',
renderer: 'src/electron.js'
2018-07-29 11:50:10 +00:00
}
2018-08-10 12:12:18 +00:00
}
2018-07-29 11:50:10 +00:00
}