Replaced babel-preset-2015 on babel-preset-env

This commit is contained in:
sanex3339
2018-02-23 00:56:34 +03:00
parent 380ecd1337
commit b34d1ed5e4
8 changed files with 130 additions and 48 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash
$(yarn bin)/tsc -p tsconfig.test.json &&
$(yarn bin)/babel test-tmp --out-dir test-tmp --source-maps inline --presets es2015 &&
$(yarn bin)/babel test-tmp --out-dir test-tmp --source-maps inline --presets env &&
rsync -a --prune-empty-dirs --include '*/' --include '*.js' --include '*.json' --exclude '*' test/ test-tmp/test/