build dist file