building from src to dist