8000 use "not dead" version of browser. User that want to suport older bro… · immutable-js/immutable-js@ad33ed6 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad33ed6

Browse files
committed
use "not dead" version of browser. User that want to suport older browsers might re-compile immutable
1 parent 0592726 commit ad33ed6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

babel.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function (api) {
1414
[
1515
'@babel/env',
1616
{
17-
targets: { browsers: ['last 2 versions', 'ie >= 10'] },
17+
targets: { browsers: ['last 2 versions', 'not dead'] },
1818
},
1919
],
2020
['@babel/preset-typescript', { allowDeclareFields: true }],

resources/jestResolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = (request, options) => {
55
if (request === 'immutable') {
66
if (process.env.CI) {
77
// In CI environment, test the real built file to be sure that the build is not broken
8-
return path.resolve(options.rootDir, pkg.main);
8+
return path.resolve(options.rootDir, pkg.module);
99
}
1010

1111
// In development mode, we want sourcemaps, live reload, etc., so point to the src/ directory

0 commit comments

Comments
 (0)
0