-
Notifications
You must be signed in to change notification settings - Fork 367
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
fix(utils): using universal build config and fix compatibility issue #4233
Conversation
🦋 Changeset detectedLatest commit: 255d234 The changes in this PR will be included in the next version bump. This PR includes changesets to release 211 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4233 +/- ##
==========================================
- Coverage 57.59% 56.33% -1.26%
==========================================
Files 672 662 -10
Lines 17794 18005 +211
Branches 3876 3936 +60
==========================================
- Hits 10249 10144 -105
- Misses 6934 7200 +266
- Partials 611 661 +50 ☔ View full report in Codecov by Sentry. |
The integration test passed: https://github.com/web-infra-dev/modern.js/actions/runs/5584684576/jobs/10206411220 |
Summary
🤖 Generated by Copilot at f177224
This pull request fixes some issues with the
dev-middleware
andmodern.config.js
files to improve browser compatibility and build consistency for the@modern-js
packages. It also adds a changeset file for the@modern-js/utils
patch update.Details
🤖 Generated by Copilot at f177224
@modern-js/utils
package (link)sep
constant frompath
module to handle platform-specific path separators (link)cjs
subdirectory withesm
subdirectory in client entry path to fix browser compatibility issue (link)universalBuildConfig
array from@scripts/build
module to use common build configurations for@modern-js
packages (link)copy
option to first item ofuniversalBuildConfig
array to copy files not handled bybundleless
build type (link)Related Issue
Checklist
pnpm run change
.