Skip to content

Commit

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

0 comments on commit 0301711

Please sign in to comment.