2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix webpack config

This commit is contained in:
Faris Ansari 2018-09-30 19:55:13 +05:30
parent 8765c60ef3
commit e3b097ace9
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
// frappe.conf.js template
module.exports = {
staticPath: './static',
distPath: './dist',
dev: {
entryHtml: 'index.html',
srcDir: 'src',
outputDir: './dist',
assetsPublicPath: '/',
devServerPort: 8000,

View File

@ -69,7 +69,7 @@ function getConfig() {
alias: {
'vue$': 'vue/dist/vue.esm.js',
'deepmerge$': 'deepmerge/dist/umd.js',
'@': resolveAppDir(appConfig.dev.srcDir)
'@': appConfig.dev.srcDir ? resolveAppDir(appConfig.dev.srcDir) : null
}
},
plugins: [