compile to dist