-
Notifications
You must be signed in to change notification settings - Fork 70
fix: cleanup and using mobx-react-lite #356
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
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 |
|---|---|---|
|
|
@@ -9,4 +9,9 @@ module.exports = merge(baseConfig, { | |
| filename: 'index.js', // Set the output filename to index.js | ||
| libraryTarget: 'commonjs2', | ||
| }, | ||
| externals: { | ||
| react: 'react', | ||
| 'react-dom': 'react-dom', | ||
| '@webex/cc-store': '@webex/cc-store', | ||
| } | ||
|
Comment on lines
+12
to
+16
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. 💡 Codebase verification Add missing peer dependencies for webpack externals The following externals need to be added as peer dependencies in package.json:
🔗 Analysis chainVerify peer dependencies match externals configuration. Ensure that the package.json peer dependencies align with the webpack externals configuration. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check if package.json peer dependencies match webpack externals
# Get peer dependencies from package.json
echo "Checking peer dependencies in package.json:"
cat package.json | jq '.peerDependencies'
# Verify that all externals are listed as peer dependencies
echo -e "\nChecking for potential mismatches between externals and peer dependencies:"
for dep in "react" "react-dom" "@webex/cc-store"; do
if ! cat package.json | jq -e ".peerDependencies.\"$dep\""; then
echo "Warning: External '$dep' is not listed in peer dependencies"
fi
done
Length of output: 1094 |
||
| }); | ||
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.
Are we still using this build command?
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.
Not using but keeping it if we need to test something. If we don't use it for quite some time, we can remove this.