Skip to content

Update connect-history-api-fallback to enable disableDotRule use - #638

Merged
SpaceK33z merged 1 commit into
webpack:masterfrom
filipesilva:patch-1
Oct 5, 2016
Merged

SpaceK33z merged 1 commit into
webpack:masterfrom
filipesilva:patch-1

Conversation

@filipesilva

Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

Currently, webpack-dev-server is requiring connect-history-api-fallback@^1.2.0 which might resolve to 1.2.0 on existing installs.

This version doesn't yet allow for the disableDotRule option enabled in bripkens/connect-history-api-fallback@ee86111.

Using the following in the Webpack Dev Server config works only when [email protected] is installed:

      historyApiFallback: {
        disableDotRule: true,
      },

What is the new behavior?

Package always requires connect-history-api-fallback at least 1.3.0.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information:

Currently, `webpack-dev-server` is requiring `connect-history-api-fallback@^1.2.0` which might resolve to `1.2.0` on current installs. 

This version doesn't yet allow for the `disableDotRule` option enabled in bripkens/connect-history-api-fallback@ee86111.

Using the following in the Webpack Dev Server config works when `[email protected]` is installed:
```
      historyApiFallback: {
        disableDotRule: true,
      },
```
@filipesilva

Copy link
Copy Markdown
Contributor Author

Cheers!

@SpaceK33z

Copy link
Copy Markdown
Contributor

Thanks for your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants