source-map-loader icon indicating copy to clipboard operation
source-map-loader copied to clipboard

source-map-loader fails unexpectedly

Open 64BitAsura opened this issue 1 year ago • 2 comments

Bug report

I try to use local package from my workspace that has source-map baked into as separate file .js.map and properly sourcemapping information added to corresponding .js file inside dist. I am using source-map-loader in the storybook using webpack 5. When I try adding bundling, I am getting this error!

Actual Behavior

Screenshot 2024-03-27 at 01 33 43

Expected Behavior

I am expecting webpack can bundle with source-map from local package as part of storybook bundle

How Do We Reproduce?

  1. use any package has source-map and feed to webpack 5 that has source-map-loader set!

Please paste the results of npx webpack-cli info here, and mention other relevant information

System: OS: macOS 14.3 CPU: (10) arm64 Apple M1 Pro Memory: 110.92 MB / 16.00 GB Binaries: Node: 21.6.0 - ~/n/bin/node npm: 10.5.0 - ~/Work/Motif/xxxxxxxx/node_modules/.bin/npm Browsers: Chrome: 123.0.6312.87 Edge: 123.0.2420.53 Safari: 17.3 Packages: css-loader: ^6.10.0 => 6.10.0 style-loader: ^3.3.4 => 3.3.4 webpack: ^5.90.1 => 5.72.1

64BitAsura avatar Mar 27 '24 11:03 64BitAsura

How Do We Reproduce?

Please fill out this, I don't know your configuration, so I can't help

alexander-akait avatar Mar 27 '24 11:03 alexander-akait

Again, you have invalid test configuraiton, pelase double check it out

alexander-akait avatar Mar 27 '24 11:03 alexander-akait

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!

alexander-akait avatar Jul 31 '25 10:07 alexander-akait