Skip to content

Commit

Permalink
Install flow typings during build
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha0010 authored Feb 6, 2019
1 parent 84d3784 commit 44e91af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ promise = promise.then(() => {
delete pkg.babel;
fs.writeFileSync('build/package.json', JSON.stringify(pkg, null, ' '), 'utf-8');
fs.writeFileSync('build/main.d.ts', fs.readFileSync('src/main.d.ts', 'utf-8'), 'utf-8');
fs.writeFileSync('build/main.js.flow', fs.readFileSync('src/main.js.flow', 'utf-8'), 'utf-8');
fs.writeFileSync('build/LICENSE.txt', fs.readFileSync('LICENSE.txt', 'utf-8'), 'utf-8');
fs.writeFileSync('build/README.md', fs.readFileSync('README.md', 'utf-8'), 'utf-8');
});
Expand Down

0 comments on commit 44e91af

Please sign in to comment.