Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update action job step for better clarity
Remove invalid CSS cross-import in fields package
Jan 28, 2026
hotlong
marked this pull request as ready for review
January 28, 2026 03:37
hotlong
merged commit Jan 28, 2026
e4c0585
into
copilot/develop-field-type-components
7 checks passed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a build failure in the @object-ui/fields package by removing an invalid CSS cross-import. The build was failing because @import '@object-ui/components/style.css' resolved to a non-existent source path during Vite build rather than the published package export.
Changes:
- Removed
packages/fields/src/index.csscontaining the problematic CSS cross-import - Removed the CSS import statement from
packages/fields/src/index.tsx
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/fields/src/index.css | Deleted file containing invalid CSS cross-import to @object-ui/components |
| packages/fields/src/index.tsx | Removed import of index.css to eliminate dependency on deleted file |
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Build failed when the fields package attempted to import
@object-ui/components/style.css. During Vite build, the import resolved to the non-existent source path/packages/components/src/style.cssinstead of the published export.Changes
packages/fields/src/index.csscontaining@import '@object-ui/components/style.css'packages/fields/src/index.tsxLibrary packages should not cross-import CSS - consuming applications import styles directly via published package exports. This aligns with patterns used elsewhere in the monorepo (components, runner, etc.).
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.