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

RFC: Add option to enable sourcemap loader in develop mode #341

Open
fabiankaegy opened this issue Nov 1, 2023 · 1 comment
Open

RFC: Add option to enable sourcemap loader in develop mode #341

fabiankaegy opened this issue Nov 1, 2023 · 1 comment

Comments

@fabiankaegy
Copy link
Member

At 10up we are working with several self-maintained libraries, such as all of the component library packages and the block components package. Sometimes we run into issues with the actual library when working on projects.

Even though these libraries do ship sourcemaps they don't get loaded because only first-party code outputs its sourcemaps in the browser.

I would love to have an option built into toolkit that makes it possible to automatically load the sourcemaps from dependencies also in the dev bundle.

So loading the source-map-loader plugin in dev mode when a certain flag is enabled.

Maybe we can even restrict it to only @10up/ dependencies

@RuhaniMakhija
Copy link

Hello I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants