Skip to content

Commit 34e170f

Browse files
committed
Update webpack/karma support.
1 parent 16c99bd commit 34e170f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/test-karma.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ require('core-js/fn/string/ends-with');
2323
require('core-js/fn/string/starts-with');
2424

2525
// jsonld compatibility
26+
require('core-js/fn/array/from');
2627
require('core-js/fn/array/includes');
28+
require('core-js/fn/map');
2729
require('core-js/fn/object/assign');
2830
require('core-js/fn/promise');
31+
require('core-js/fn/set');
2932
require('core-js/fn/symbol');
3033
require('regenerator-runtime/runtime');
3134

webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ const outputs = [
2020
entry: [
2121
// 'babel-polyfill' is very large, list features explicitly
2222
'regenerator-runtime/runtime',
23+
'core-js/fn/array/from',
2324
'core-js/fn/array/includes',
25+
'core-js/fn/map',
2426
'core-js/fn/object/assign',
2527
'core-js/fn/promise',
28+
'core-js/fn/set',
2629
'core-js/fn/string/starts-with',
2730
'core-js/fn/symbol',
2831
// main lib

0 commit comments

Comments
 (0)