elm-starter icon indicating copy to clipboard operation
elm-starter copied to clipboard

fix: await for terser.minify

Open Augustin82 opened this issue 3 years ago • 0 comments

Hi!

On a new project, building failed. Looking into it, I think we're trying to access minCode.code as an object while it is a Promise.

This PR adds a couple async/await to work around it. Feel free to ask for a different solution, I'll be glad to look into it =)

Augustin82 avatar Feb 11 '22 16:02 Augustin82