Add .gitignore and rules for dist output