<p>A method of molding a polylactic acid resin. By the method, a container or package having excellent heat resistance and a transparent part can be produced. A cavity is filled with a polylactic acid resin, and the polylactic acid resin is vibrated while keeping the screw in the position where it stopped with filling completion. After completion of the vibration, the step is shifted to a dwell step.</p>