implemented crypto polyfills for ms edge
This commit is contained in:
parent
5f44ed2598
commit
cd7da20024
10 changed files with 163 additions and 18 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue