Skip to content

Commit

Permalink
Updates build script
Browse files Browse the repository at this point in the history
  • Loading branch information
steveruizok committed Sep 16, 2021
1 parent e62f1cb commit ca891ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion packages/perfect-freehand/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ![Screenshot](perfect-freehand-logo.svg 'Perfect Freehand')

Draw perfect pressure-sensitive freehand strokes.
Draw perfect pressure-sensitive freehand lines.

🔗 Try out a [demo](https://perfect-freehand-example.vercel.app/).

Expand Down
12 changes: 0 additions & 12 deletions packages/perfect-freehand/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ async function main() {
esmSize += output.bytes
})

for (const file of ['README.md']) {
if (fs.existsSync(`../../${file}`)) {
fs.rm(`../../${file}`, (err) => {
if (err) throw err
})
}

fs.copyFile(`./${file}`, `../../${file}`, (err) => {
if (err) throw err
})
}

fs.readFile('./dist/esm/index.js', (_err, data) => {
gzip(data, (_err, result) => {
console.log(
Expand Down

0 comments on commit ca891ca

Please sign in to comment.