implemented crypto polyfills for ms edge

This commit is contained in:
Danny Coates 2018-02-28 19:24:41 -08:00
parent 5f44ed2598
commit cd7da20024
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
10 changed files with 163 additions and 18 deletions

View file

@ -7,7 +7,7 @@ function kv(f) {
module.exports = function() {
const files = fs.readdirSync(path.join(__dirname, 'tests'));
const code = files.map(kv).join(';\n');
const code = "require('fast-text-encoding');\n" + files.map(kv).join(';\n');
return {
code,
dependencies: files.map(f => require.resolve('./tests/' + f)),