-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat: support exports
in package.json
#11961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
94914e5
fe3c757
752a229
cabb2f4
7bf9908
c7ed620
1a51ad1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict'; | ||
|
||
const { | ||
TestEnvironment: JSDOMTestEnvironment, | ||
} = require('jest-environment-jsdom'); | ||
|
||
module.exports = class AngularEnv extends JSDOMTestEnvironment { | ||
exportConditions() { | ||
// we need to include `node` as `rxjs` defines `node`, `es2015`, `default`, not `browser` or `require` | ||
// https://github.com/ReactiveX/rxjs/pull/6821 | ||
return super.exportConditions().concat('node'); | ||
} | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "NODE_PATH_dir", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to create this and the one below otherwise |
||
"version": "1.0.0", | ||
"dependencies": { | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "test_root", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.