You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of getEsbuildOptions function hardcodes the target setting to "es6". This setting restricts the server from utilizing JavaScript features introduced in ES2016 and later versions. It would be beneficial to provide a mechanism that allows overriding the target option to support modern JavaScript features in a custom server environment.
The text was updated successfully, but these errors were encountered:
https://github.com/blitz-js/blitz/blob/main/packages/blitz/src/cli/utils/next-utils.ts#L58
The current implementation of getEsbuildOptions function hardcodes the target setting to "es6". This setting restricts the server from utilizing JavaScript features introduced in ES2016 and later versions. It would be beneficial to provide a mechanism that allows overriding the target option to support modern JavaScript features in a custom server environment.
The text was updated successfully, but these errors were encountered: