Closed chamerling closed 4 years ago
The file esn-frontend-common-libs/src/frontend/js/modules/file.js exports an await function in strict mode: Uglifying source does not work as is.
await
strict
Several solutions:
remove strict mode ?
@MichaelBailly doing this just works fine:
Will go with renaming the function. Removing use strict does not work with babel which is also used during the build
use strict
The file esn-frontend-common-libs/src/frontend/js/modules/file.js exports an
await
function instrict
mode: Uglifying source does not work as is.Several solutions: