block-components icon indicating copy to clipboard operation
block-components copied to clipboard

Ship non minified version of code that can be used in dev mode for better error reporting

Open fabiankaegy opened this issue 2 years ago • 1 comments

It woild be great if we could figure out a way similar to how React itself handled it for shipping a non minified version of the package so that any consumer can get better error reporting during development.

The sourcemaps from this package don't get included in the frontend sourcemaps because this is a package and the sourcemaps only contain the first party code by default. And having to manually add a sourcemap loader webpack plugin just isn't a great solution...

fabiankaegy avatar Oct 25 '23 09:10 fabiankaegy

@Antonio-Laguna @nicholasio Curious to hear whether you have ever encountered something like this :) Would be great to find a solution here to make the development process of working with these block components nicer :)

fabiankaegy avatar Oct 25 '23 09:10 fabiankaegy