elm-starter
elm-starter copied to clipboard
fix: await for terser.minify
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 =)