Skip to content

Comments

fix: inlined module css#6996

Closed
poyoho wants to merge 1 commit intovitejs:mainfrom
poyoho:fix/inlined-module-css
Closed

fix: inlined module css#6996
poyoho wants to merge 1 commit intovitejs:mainfrom
poyoho:fix/inlined-module-css

Conversation

@poyoho
Copy link
Member

@poyoho poyoho commented Feb 19, 2022

Description

fix: #6984

Additional context

The typescript declare ?inlined default export is string. So I replace the dataToEsm default export to css code and keep the json module of module css.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Css modules don't work with ?inline in production build

2 participants