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
Hello. We are using esbuild to create development and production ready bundle.
It occurs that with current build configuration when NODE_ENV=production or code is minified with LNG_BUILD_MINIFYstates feature is broken.
We are not using states directly. It was spotted because we use Router from sdk which use states under the hood. As the result - the is no ability to focus widgets.
From our initial investigation that that happens because function names (names of classes defined as states) are modified during build process.
We'll look into adding an equivalent config to ESbuild as well. Hopefully we'll get this in next week, in time to be included in our scheduled January release.
As an alternative in the mean time you could consider switching to rollup (when running production builds, that require minification)
Hello. We are using
esbuild
to create development and production ready bundle.It occurs that with current build configuration when
NODE_ENV=production
or code is minified withLNG_BUILD_MINIFY
states feature is broken.We are not using states directly. It was spotted because we use Router from sdk which use states under the hood. As the result - the is no ability to focus widgets.
From our initial investigation that that happens because function names (names of classes defined as states) are modified during build process.
Package versions:
The text was updated successfully, but these errors were encountered: