-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Failed to parse source map from #481
Comments
I have had these warnings start now when running in dev mode with
Adding this to
|
I have this same sort of issue in a mono-repo setup. The sub-package is trying to link to a source in the root node_modules like so: |
I solved this problem by modifying the webpach configuration. module: {
strictExportPresence: true,
rules: [
// Handle node_modules packages that contain sourcemaps
shouldUseSourceMap && {
enforce: 'pre',
exclude: [/@babel(?:\/|\\{1,2})runtime/, /node_modules/], // modify here , add /node_modules/
test: /\.(js|mjs|jsx|ts|tsx|css)$/,
loader: require.resolve('source-map-loader'),
}, |
Hey @vaynevayne and everyone else! 👋 Just checked [email protected] and there the source maps indeed seem to be linking incorrectly. E.g. in the file I'll fix this. |
This was addressed in release v2.5.4. |
happened when build in jenkins
The text was updated successfully, but these errors were encountered: