actual/packages/desktop-electron/build.sh
2022-04-28 22:44:38 -04:00

9 lines
345 B
Bash

#!/bin/sh
find ../loot-core \
-not -ipath '*src/client*' \
-not -ipath '*src/bin*' \
-not -ipath '*tests*' \
-not -iname '*.test.js' \
-not -iname '.#*' |
xargs ../../node_modules/.bin/babel --plugins babel-plugin-transform-es2015-modules-commonjs,babel-plugin-transform-object-rest-spread --no-babelrc -d lib-node