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
|
|
// }
|
|
// }
|
|
};
|