compile dist file