Remove Decompress + Replace with Other Package (#9532) (#9545)

* add windows support

* works on windows

* Still testing, works on Windows

* Reject on error

* Fix adm-zip external
This commit is contained in:
Chris LaFreniere
2020-03-11 01:14:12 -07:00
committed by GitHub
parent 7379d66729
commit 29031462c7
4 changed files with 115 additions and 221 deletions

View File

@@ -12,7 +12,8 @@ const fs = require('fs');
const path = require('path');
const externals = {
'node-fetch': 'commonjs node-fetch'
'node-fetch': 'commonjs node-fetch',
'adm-zip': 'commonjs adm-zip'
};
// conditionally add ws if we are going to be running in a node environment