Skip to content
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

feat: add default cssnano preset options in the RN environment #1814

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

WX-DongXing
Copy link
Collaborator

No description provided.

@WX-DongXing WX-DongXing requested a review from hiyuki January 14, 2025 13:06
@@ -41,6 +48,7 @@ module.exports = async function loader (content, map, meta) {
const externals = mpx.externals
const root = mpx.projectRoot
const sourceMap = mpx.cssSourceMap || false
const isRN = ['ios', 'android'].includes(mpx.mode)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

添加harmony mode

@hiyuki hiyuki merged commit 46821e5 into master Jan 15, 2025
6 checks passed
@hiyuki hiyuki deleted the fix-rn-cssnano branch January 15, 2025 06:44
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.

2 participants