olahol / reactpack

:package: build your react apps with one command and one `npm i`.
982 stars 36 forks source link

History API fallback #11

Open scwood opened 8 years ago

scwood commented 8 years ago

Any way to use the history API fallback feature of webpack with this?

  devServer: {
    historyApiFallback: true,
    proxy: {
      '/api/*': {
        target: 'http://localhost:3000',
      },
    },
  },

Love what you're doing with this.

olahol commented 8 years ago

Looks like a good idea, I will take a look at it over lunch :+1:

victorb commented 8 years ago

By merging #27, you'll be able to set your own dev server config.