angular-cn/public/docs/_examples/universal/ts/bs-config.aot.js

19 lines
446 B
JavaScript

module.exports = {
port: 3100,
server: {
baseDir: "src",
routes: {
"/node_modules": "node_modules"
},
middleware: {
// overrides the fallback middleware to use index-aot
1: require('connect-history-api-fallback')({ index: '/index-aot.html' })
}
}
// ,"snippetOptions": {
// "rule": {
// "match": "/dummy/" // disable browsersync by giving it an invalid injection target
// }
// }
};