We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce61f2 commit 0462b3cCopy full SHA for 0462b3c
packages/@angular/cli/tasks/eject.ts
@@ -320,6 +320,10 @@ class JsonWebpackSerializer {
320
serialize(config: any): string {
321
// config = Object.assign({}, config);
322
config['plugins'] = this._pluginsReplacer(config['plugins']);
323
+ // Routes using PathLocationStrategy break without this.
324
+ config['devServer'] = {
325
+ 'historyApiFallback': true
326
+ };
327
config['resolve'] = this._resolveReplacer(config['resolve']);
328
config['resolveLoader'] = this._resolveReplacer(config['resolveLoader']);
329
config['entry'] = this._entryReplacer(config['entry']);
0 commit comments