Skip to content

Commit

Permalink
chore: update build script (unocss#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongbusi authored and praburangki committed Jan 12, 2023
1 parent cab7965 commit 0a316d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copy-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const destinations = [
['../README.md', '../packages/unocss/README.md'],
]

const _filename = import.meta.url ? fileURLToPath(import.meta.url) : __filename
const _filename = fileURLToPath(import.meta.url)
destinations.forEach(([src, dest]) => {
copyFileSync(resolve(_filename, '..', src), resolve(_filename, '..', dest))
})

0 comments on commit 0a316d9

Please sign in to comment.