Skip to content

update .npmignore to allow sourcemaps to reference the source files#105

Open
r14c wants to merge 1 commit intoAzure:mainfrom
r14c:fix/sourcemaps
Open

update .npmignore to allow sourcemaps to reference the source files#105
r14c wants to merge 1 commit intoAzure:mainfrom
r14c:fix/sourcemaps

Conversation

@r14c
Copy link

@r14c r14c commented Jan 21, 2026

This change was raised before, but I'm going to try again. This is still one of the better event source clients out there imo.

Closes #18

Currently we are using set ignoreWarnings option to skip the parse error. https://webpack.js.org/configuration/other-options/#ignorewarnings , but it would be nice to have working sourcemaps.

module.exports = {
  // ...
  ignoreWarnings: [/Failed to parse source map/]
}

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.

Warning due to incomplete sourcemaps

1 participant