html-bundler-webpack-plugin: Handling `undefined` value of `route.rewriteIndex`

Image

I trusted the type hints in VSCode and set the value to undefined. As a result, the index links became "undefined". The error could be in either VSCode’s static analyzer or the option type itself. Additionally, there is definitely an issue in the option handler if we assume that undefined should trigger the default behavior.

Originally posted by @vralle in #169

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

tsconfig.json: "exactOptionalPropertyTypes": false

Now types resolved. Thanks!

@vralle

fixed in 4.20.2: invalid values for route.rewriteIndex option are treated as default value