Skip to content

Commit

Permalink
Maybe I am clever
Browse files Browse the repository at this point in the history
  • Loading branch information
RanolP committed Sep 7, 2021
1 parent 283d207 commit 3acbeeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Tricky TSC ESM
run: |
for file in `find src -type f`; do
sed -ri "s/from '([^']+)\/api'/from '\1\/api\/index.js'/" $file
sed -ri "s/from '([^']+)\/models'/from '\1\/models\/index.js'/" $file
sed -ri "s/from '([^']+(\?\!\.js))'/from '\1.js'/" $file
sed -ri "s/from '([^']+)\/apis'/from '\1\/apis\/index'/" $file
sed -ri "s/from '([^']+)\/models'/from '\1\/models\/index'/" $file
sed -ri "s/from '([^']+)'/from '\1.js'/" $file
done
- name: Build
run: npm run build
Expand Down

0 comments on commit 3acbeeb

Please sign in to comment.