Skip to content

webpack 5: Failed to parse source map from "@mswjs/interceptors" #1030

@JoeyAtSS

Description

@JoeyAtSS

Describe the bug

New webpack 5.0 throwing compilation error regarding source map not found
image

there are multiple of these, but for the sake of simplicity, i just pasted one of it.

Environment

  • msw: 0.36.3
  • nodejs: 14.18.2
  • npm: 8.3.0

Please also provide your browser version. N/A, this is compilation warning error

To Reproduce

Steps to reproduce the behavior:

  1. Create new react app using CRA5.0
  2. install latest msw.
  3. Npm start, the warnings are being thrown in the terminal

Expected behavior

should not have these warning errors.

Screenshots

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions