Copy package.json to dist folder for release

This commit is contained in:
Alice Gaudon 2021-11-10 19:25:50 +01:00
parent 45bd805969
commit ce39f82e66

View File

@ -22,3 +22,6 @@ if (!fs.existsSync(symlink)) {
fs.readdirSync('src').forEach(file => {
copyRecursively(path.join('src', file), 'dist');
});
// Copy package.json
fs.copyFileSync('package.json', 'dist/package.json');