Skip to content

Commit

Permalink
chore: update build script (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongbusi committed Nov 21, 2022
1 parent f2fda68 commit 3d805df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copy-files.ts
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 3d805df

Please sign in to comment.