I am making a project that will fit into a 3D printed enclosure. I want to keep the project neat so I will have just one extension cord running from the wall (120VAC) into the enclosure to power all of my electronics. One of my devices requires 12VDC so in order to save space inside my constrained enclosure, I thought that I could solder wires directly to the AC input prongs of the power supply and heat shrink & electrical tape over that. The reason for not directly plugging it into the female end of the single extension cord entering the enclosure is that I need two additional items to be plugged into the cord that I was going to use wire nuts for. This 12VDC adapter will be powering 1A for only a few minutes at a time, maybe once per day.
Is it safe to solder the wires to the AC input prongs of the 12VDC supply?