var api = require('../api/api-serve') devServer: { clientLogLevel: 'warning', compress: true, contentBase: config.dev.contentBase, host: config.dev.host, port: config.dev.port, historyApiFallback: config.dev.historyApiFallback, public: config.dev.public, open:config.dev.open, watchContentBase: config.dev.watchContentBase, overlay: config.dev.errorOverlay ? { warnings: false, errors: true } : false, proxy: config.dev.proxyTable, quiet: true, // necessary for FriendlyErrorsPlugin openPage: openPage, watchOptions: config.dev.watchOptions, before : function (app){ api.registerRouter(app); } }
|