electron-webpack icon indicating copy to clipboard operation
electron-webpack copied to clipboard

dev-server historyApiFallback

Open asecher opened this issue 8 years ago • 2 comments

Hello,

Great work on this project, I just have one question. I was wondering if it's possible to enable the historyApiFallback for webpack-dev-server ?

Thanks.

asecher avatar Jul 06 '18 11:07 asecher

Have you managed to do this? I'm having issues with Cors.

sneljo1 avatar Oct 06 '18 15:10 sneljo1

@Superjo149 you can pass options to the devServer this way https://webpack.electron.build/modifying-webpack-configurations

module.exports = {
  //...
  devServer: {
    //...
  }
};```

asecher avatar Oct 07 '18 04:10 asecher