0

I have react project (create using create-react-app) called "ui-web" and it has dependency on "ui-core". When bundle size of "ui-core" was less than 244kb, final build of "ui-web" was including source map of "ui-core". If size of "ui-core" bundle exceeds 244kb, react project stops including source map of "ui-core". Any help is appreciated.

2
  • Please provide enough code so others can better understand or reproduce the problem. Commented May 7, 2022 at 7:03
  • If a node modules which is added as dependency, exceeds 244kb in size (minified JS file size), React script does not include source map for that module. If size is below 244kb, it is includes in final main js file. Commented May 11, 2022 at 9:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.