-
Notifications
You must be signed in to change notification settings - Fork 36k
Use require.resolve to find CSS modules in node_modules #79651
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
Closed
penx
wants to merge
5
commits into
microsoft:master
from
penx:feature/node-module-resolution-for-css-import-requireresolveproxy
Closed
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
399b533
use require.resolve to find node module
penx 7114b57
fix ts/lint issues
penx 40b670a
reinstate use of URI and existsSync
penx 80018d6
remove white space
penx da0c696
Merge branch 'master' into feature/node-module-resolution-for-css-imp…
penx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -678,6 +678,11 @@ require-main-filename@^2.0.0: | |
| resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" | ||
| integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== | ||
|
|
||
| [email protected]: | ||
| version "0.0.1" | ||
| resolved "https://registry.yarnpkg.com/requireresolveproxy/-/requireresolveproxy-0.0.1.tgz#c65ba54a3557ae778025212a5572ddce779f9607" | ||
| integrity sha512-0JGjCjOKyJJAMlWhLR+Kx6qW7+KjI7HZUipgZMQtHDg4n57r/pX17Dlke4+lwJzfkMM25I/eQ0+cHCfA5bFgPA== | ||
|
|
||
| semver@^5.5.0, semver@^5.7.0: | ||
| version "5.7.0" | ||
| resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is using require rather than import due to not having .ts typings for requireresolveproxy - happy to resolve in another way if someone can suggest how