1 |
|
2 |
|
3 | # IMPORTANT
|
4 | # ---------
|
5 | # This is an auto generated file with React CDK.
|
6 | # Do not modify this file.
|
7 | # Use `.scripts/user/prepublish.sh instead`.
|
8 |
|
9 | echo "=> Transpiling 'src' into ES5 ..."
|
10 | echo ""
|
11 | rm -rf ./dist
|
12 | NODE_ENV=production ./node_modules/.bin/babel --ignore tests,stories --plugins "transform-runtime" ./src --out-dir ./dist
|
13 | echo ""
|
14 | echo "=> Transpiling completed."
|
15 |
|
16 | . .scripts/user/prepublish.sh
|