import { Request , Response } from 'express' ; export default { autoRestart : false , hmr : { enable : true , configs : undefined , entries : [ 'main' , 'index' ] , entriesNode : [ 'server' ] , entriesWeb : [ 'browser' ] , hotPollInterval : 1000 , hotMiddleware : { path : '/__webpack_hmr' , } , hotMiddlewareClient : { overlay : true , } , } , logger : console , metadirs : [ ] , metafiles : [ 'udk.config.ts' , 'webpack.config.ts' , ] , processTitle : 'udk-ctnr' , topModuleEntries : [ /^source-map-support/ , ] , watchOptions : { aggregateTimeout : 200 , } , webpackConfig : './webpack.config.ts' , injectWebpackStats ( compilerStats , req , res ) { const webpackStats = { } ; for ( const name in compilerStats ) { webpackStats [ name ] = compilerStats [ name ] . toJson ( 'verbose' ) ; } res . locals = res . locals || Object . create ( null ) ; res . locals . webpackStats = webpackStats ; } , } ;