We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1524bc1 commit fecabe7Copy full SHA for fecabe7
packages/angular-cli/custom-typings.d.ts
@@ -1,7 +1,7 @@
1
interface IWebpackDevServerConfigurationOptions {
2
contentBase?: string;
3
hot?: boolean;
4
- historyApiFallback?: boolean;
+ historyApiFallback?: {[key: string]: boolean} | boolean;
5
compress?: boolean;
6
proxy?: {[key: string]: string};
7
staticOptions?: any;
packages/angular-cli/tasks/serve-webpack.ts
@@ -55,7 +55,9 @@ export default Task.extend({
55
this.project.root,
56
`./${CliConfig.fromProject().config.apps[0].root}`
57
),
58
- historyApiFallback: true,
+ historyApiFallback: {
59
+ disableDotRule: true,
60
+ },
61
stats: webpackDevServerOutputOptions,
62
inline: true,
63
proxy: proxyConfig,
0 commit comments