Skip to content

Commit 7c22749

Browse files
authored
Fix npm release (#206)
1 parent 050f43c commit 7c22749

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tool/prepare-release.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ import {getJSApi} from './get-js-api';
2424
shell.cp('-R', 'lib/src/vendor/sass', 'dist/types');
2525
await fs.unlink('dist/types/README.md');
2626

27-
// .gitignore needs to exist in dist for `npm publish` to correctly exclude
28-
// files from the published tarball.
29-
console.log('Copying .gitignore to dist.');
30-
await fs.copyFile('.gitignore', 'dist/.gitignore');
31-
3227
console.log('Ready for publishing to npm.');
3328
} catch (error) {
3429
console.error(error);

0 commit comments

Comments
 (0)