Open
Description
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

Expected Behavior
I am expecting webpack can bundle with source-map from local package as part of storybook bundle
How Do We Reproduce?
- 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
Metadata
Metadata
Assignees
Labels
No labels