HSF / phoenix

"Phoenix", an experiment independent web-based event display for High Energy Physics.
https://hepsoftwarefoundation.org/phoenix/
Apache License 2.0
55 stars 55 forks source link

ng build doesn't work in simple setups #669

Open DraTeots opened 4 months ago

DraTeots commented 4 months ago

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?

EdwardMoyse commented 4 days ago

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