-
Notifications
You must be signed in to change notification settings - Fork 65
fix(meetings): address version resolution #664
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
base: next
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -18,6 +18,13 @@ module.exports = function(env, argv) { | |
| devtool: argv.mode === 'production' ? 'source-map' : 'inline-source-map', | ||
| resolve: { | ||
| extensions: ['.js', '.jsx'], | ||
| alias: { | ||
| react: path.dirname(require.resolve('react/package.json')), | ||
| 'react-dom': path.dirname(require.resolve('react-dom/package.json')), | ||
| 'prop-types': path.dirname(require.resolve('prop-types/package.json')), | ||
| webex: path.resolve(path.dirname(require.resolve('webex')), '..'), | ||
|
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.
This alias is resolved from Useful? React with 👍 / 👎. |
||
| '@webex/common': path.dirname(require.resolve('@webex/common/package.json')), | ||
|
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.
Evaluating this Useful? React with 👍 / 👎. |
||
| }, | ||
| fallback: { | ||
| "buffer": require.resolve("buffer/"), | ||
| "crypto": require.resolve("crypto-browserify"), | ||
|
|
||
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.
Updating the sample app to
webex: 2.60.4makes it incompatible with@webex/widgets' declared peer requirement (webex: 2.60.2inpackages/@webex/widgets/package.json), so installs now produce a peer-dependency conflict and can fail in strict-peer environments. This undercuts the stated goal of stabilizing dependency resolution; either the sample should stay on2.60.2or the widget peer range should be updated to include2.60.4.Useful? React with 👍 / 👎.
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.
crucial for the fix