import { EggAppConfig } from 'egg' ; import * as path from 'path' ; import { getWebpackConfig } from '@easy-team/easywebpack-vue' ; export default ( appInfo ) => { const exports = { } ; exports . static = { maxAge : 0 } ; exports . development = { ignoreDirs : [ 'app/web' , 'public' , 'config/manifest.json' ] } ; exports . logview = { dir : path . join ( appInfo . baseDir , 'logs' ) } ; exports . vuessr = { injectCss : false } ; exports . webpack = { browser : false , webpackConfigList : getWebpackConfig ( ) } ; return exports ; } ;