Getting error in production build - formjs

No provider for “e”! (Resolving: validator → e)
at a (1248.786e9d438e822582.js:1:1327)
at Object.get (1248.786e9d438e822582.js:1:1125)
at h (1248.786e9d438e822582.js:1:1658)
at 1248.786e9d438e822582.js:1:1907
at Array.map ()
at v (1248.786e9d438e822582.js:1:1871)
at Array.y (1248.786e9d438e822582.js:1:1937)
at Ee.h [as get] (1248.786e9d438e822582.js:1:1626)
at Ee.validate (6343.fb2d998a991e1ce1.js:1:23522)
at Ee.submit (6343.fb2d998a991e1ce1.js:1:23303)

version “@bpmn-io/form-js”: “^0.7.0”,

Bug reported Formjs Viewer: Error in production build - onSubmit and onChange · Issue #240 · bpmn-io/form-js (github.com)

Any workaround for production build?