Skip to content

Commit

Permalink
Update scripts/copy-helpers.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Demetrius Feijóo Campos <[email protected]>
  • Loading branch information
eunjae-lee and demetriusfeijoo committed Sep 14, 2023
1 parent 84e768e commit 111b0e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/copy-helpers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const helpers = ['react', 'vue3', 'vite']

// eslint-disable-next-line functional/no-loop-statement
for (const helper of helpers) {
await $`mkdir -p ./packages/field-plugin/dist/${helper}`
await $`cp -r ./packages/field-plugin/helpers/${helper}/dist/* ./packages/field-plugin/dist/${helper}`
await $`mkdir -p ./packages/field-plugin/dist/${helper}`
await $`cp -r ./packages/field-plugin/helpers/${helper}/dist/* ./packages/field-plugin/dist/${helper}`
}

0 comments on commit 111b0e0

Please sign in to comment.