Skip to content

build: 📦 configure rollupOptions of vite setting to insert stylesheet…#603

Open
shioshosho wants to merge 1 commit into
prabhuignoto:masterfrom
shioshosho:fix/rendering_unstyle_component
Open

build: 📦 configure rollupOptions of vite setting to insert stylesheet…#603
shioshosho wants to merge 1 commit into
prabhuignoto:masterfrom
shioshosho:fix/rendering_unstyle_component

Conversation

@shioshosho
Copy link
Copy Markdown

Description

add setting to vite.config.mts to include import statement of style.css for index files.

Related Issue(s)

[BUG] CSS style not applied if just import module self #602

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • Performance improvement
  • Styling (UI/UX changes)
  • Other (please describe):

How Has This Been Tested?

  • Manual Tests (please describe steps):
  1. make react project with create-next-app
  2. add built library to its dependency
  3. create file includes Chrono component
  4. render it
  5. also checked import statement is included in index file correctly

Checklist before requesting a review

  • I have read the Contributing Guidelines.
  • I have performed a self-review of my own code.
  • My code follows the style guidelines of this project.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.
  • I have checked that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 10, 2026

@shioshosho is attempting to deploy a commit to the Prabhu Murthy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@shioshosho
Copy link
Copy Markdown
Author

I found it's also needed to set some scope for global styling like fonts.
some original styles will be overwrited if imported style.css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant