Skip to content

Unclear docs on default behavior for source maps #150

@koggdal

Description

@koggdal

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

The release notes for 2.0.0 lists breaking changes (awesome!), but forgot to mention the change for source maps. The logic now looks for undefined for the sourceMap option and falls back to looking at devtool from the webpack config, which means the default behavior changed from false to possibly true depending on what devtool was set to.

Your Proposal for Changes

Could this be added to the breaking changes in the release notes for 2.0.0 to help the next person upgrading to ^2? :)

Maybe the above also needs to be clarified in the main docs. It's currently documented as Type: Boolean Default: false. How about adding the context around devtool in that line with Default: , or adding a reference like Default: false (see below for details)?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions