* docs(universal): add guide * gulpfile: Replace 'rm -rf' with 'node rimraf' so install-example-angular will work on Windows * Get universal working * doc wip * gulpfile: Add platform-server to install-example-angular * Update toh code in universal sample - remove moduleId * Update typescript to 2.2.1 when we install-example-angular --build * move example files; add graphs * demo and docs wip * doc wip * Fix toc * add toc, link
19 lines
446 B
JavaScript
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
|
|
// }
|
|
// }
|
|
};
|