Skip to content

Commit

Permalink
chore: remove Set/Map polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-John Lange authored and janl committed Jun 18, 2024
1 parent 953f3b3 commit 8739f80
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 376 deletions.
8 changes: 0 additions & 8 deletions bin/rollupPlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

var nodeResolve = require('rollup-plugin-node-resolve');
var replace = require('rollup-plugin-replace');
var inject = require('rollup-plugin-inject');

function rollupPlugins(nodeResolveConfig) {
return [
Expand All @@ -12,13 +11,6 @@ function rollupPlugins(nodeResolveConfig) {
'process.env.COVERAGE': JSON.stringify(!!process.env.COVERAGE),
// test for fetch vs xhr
'process.env.FETCH': JSON.stringify(!!process.env.FETCH)
}),
inject({
exclude: [
'**/pouchdb-collections/src/**'
],
Map: ['pouchdb-collections', 'Map'],
Set: ['pouchdb-collections', 'Set'],
})
];
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"replace": "1.2.1",
"rimraf": "2.7.1",
"rollup": "0.67.4",
"rollup-plugin-inject": "3.0.1",
"rollup-plugin-node-resolve": "4.2.4",
"rollup-plugin-replace": "1.2.1",
"seedrandom": "3.0.5",
Expand Down
202 changes: 0 additions & 202 deletions packages/node_modules/pouchdb-collections/LICENSE

This file was deleted.

26 changes: 0 additions & 26 deletions packages/node_modules/pouchdb-collections/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions packages/node_modules/pouchdb-collections/package.json

This file was deleted.

47 changes: 0 additions & 47 deletions packages/node_modules/pouchdb-collections/src/Map.js

This file was deleted.

30 changes: 0 additions & 30 deletions packages/node_modules/pouchdb-collections/src/Set.js

This file was deleted.

26 changes: 0 additions & 26 deletions packages/node_modules/pouchdb-collections/src/index.js

This file was deleted.

0 comments on commit 8739f80

Please sign in to comment.