phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

ng build doesn't work in simple setups

Open DraTeots opened this issue 1 year ago • 1 comments

I believe it could be addressed as a separate issue. Described in the updated set-up instructions

After one sets up phoenix as described in the instruction, ng serve or its alias npm start - works. But ng build will not run falling with multiple errors around require("...").

I used custom builder in Angular.json to setup webpack build. You may look here as an example. For me it was OK as I added some webpack plugins anyway.

But this fix not trivial and may be difficult for HENP people not used to configuring frontend stacks. May there be easier fix?

DraTeots avatar Jul 17 '24 20:07 DraTeots

I'm not really sure what this ticket refers to. Could you explain the issue?

EdwardMoyse avatar Nov 30 '24 11:11 EdwardMoyse