Skip to content

Commit

Permalink
Change: puppeteer -> puppeteer-core
Browse files Browse the repository at this point in the history
  • Loading branch information
yzane committed Mar 11, 2020
1 parent d04c9c4 commit 44e2f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var removeNPMAbsolutePaths = require('removeNPMAbsolutePaths');
// Delete the unnecessary files in order to reduce the size of the package
console.log('delete file...');
deleteFile(path.join(__dirname, '..', 'node_modules', 'emoji-images', 'json'));
deleteFile(path.join(__dirname, '..', 'node_modules', 'puppeteer', '.local-chromium'));
deleteFile(path.join(__dirname, '..', 'node_modules', 'puppeteer-core', '.local-chromium'));

removeNPMAbsolutePaths(path.join(__dirname, '..', 'node_modules'), { force: true, fields: ['_where', '_args']})
.then(results => results.forEach(result => {
Expand Down

0 comments on commit 44e2f38

Please sign in to comment.