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

source-map-loader fails unexpectedly #235

Open
64BitAsura opened this issue Mar 27, 2024 · 2 comments
Open

source-map-loader fails unexpectedly #235

64BitAsura opened this issue Mar 27, 2024 · 2 comments

Comments

@64BitAsura
Copy link

64BitAsura commented Mar 27, 2024

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

@alexander-akait
Copy link
Member

How Do We Reproduce?

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

@alexander-akait
Copy link
Member

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

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

2 participants