diff --git a/scripts/prepublish.sh b/scripts/prepublish.sh index dfc982594f6e..c6a64333e3cb 100644 --- a/scripts/prepublish.sh +++ b/scripts/prepublish.sh @@ -1,5 +1,6 @@ echo "> Start transpiling ES2015" echo "" +rm -rf ./dist ./node_modules/.bin/babel --ignore __tests__ --plugins "transform-runtime" ./src --out-dir ./dist echo "" echo "> Complete transpiling ES2015"