ensure that dist file is properly annotated and minified