[Build] This is build error that with Next.js(es5)

I experienced error during build.
But it was possible at ‘dev’ mode.
And it was possible when used ‘next-transpile-modules’.
(The file size has grown too large.)

This error case was when after added Next.js.

This is crash in ES5 and ES6?

My babylonjs/core version is ‘4.0.3’. and next’s version is ‘9.0.6’.
How can clear this problem?

Plz and Thank you! :pray:

Pinging @sebavan but I’m not sure he knows next.js (I don’t :))

I do not know next.js enough unfortunately to help :frowning:

Maybe somebody else from the community knows it ???