Incorrect to compile `sass` source code
The require of sass.dart.js will be rename to __require
But esbuild use global
require to access object property
It will make
Uncaught RangeError: Maximum call stack size exceeded when using monaco-editor
Maybe esbuild should only rename the expression of calling function
This is a minimal reproduction link: https://codesandbox.io/p/devbox/esbuild-issue-ws2f3n
You did not follow the issue reporting instructions that you deleted when creating this issue. Please provide a way to reproduce your problem or this issue will be closed. Marking as unactionable for now.
You did not follow the issue reporting instructions that you deleted when creating this issue. Please provide a way to reproduce your problem or this issue will be closed. Marking as
unactionablefor now.
I have edited the issue description, and added a link to review.