Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocardless-nodejs module breaks source maps #95

Open
aharin opened this issue Apr 15, 2021 · 0 comments
Open

gocardless-nodejs module breaks source maps #95

aharin opened this issue Apr 15, 2021 · 0 comments

Comments

@aharin
Copy link

aharin commented Apr 15, 2021

Package is distributed with //# sourceMappingURL = comments embedded. This confuses aws lambda that imports this package. See https://github.com/drd/strip-sourcemap-loader for more context. The workaround is to add this in webpack config:

        test: /\.js$/,
        include: /node_modules/,
        use: [
          {
            loader: 'strip-sourcemap-loader',
          },
        ],
      },```
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

No branches or pull requests

1 participant