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:
parent
8765c60ef3
commit
e3b097ace9
@ -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,
|
||||
|
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user