Created
February 21, 2018 19:17
-
-
Save astrotars/fa0de121579ae9bd35b013238ff7a1f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf dist && mkdir dist | |
npx babel src --out-dir dist --ignore node_modules | |
cp src/package.json dist | |
cd dist && yarn install --production --modules-folder node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment