Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

v12.0.0's env = development and preserve: false is not working. #256

@demonguyj

Description

@demonguyj

pcss

@import "./_css/__function.pcss"; // :root

@import "./_css/common_content.pcss"; // contents

postcss.config

module.exports = (api) => ({
	plugins: {
		"postcss-import": {},
		"postcss-advanced-variables": {},
		"postcss-custom-properties": {
			preserve: false,
		},
        }
}

v11.0.0 env = development && preserve: false

#wrap_content {
	display: flex;
	font-size: 15px;
	flex-direction: column;
	justify-content: center;
}

#wrap_content,
#wrap_content.mbti1 {
	background-color: #6236ff;
}

but v12.0.0 env = development && preserve: false

:root {
	--purple: #6236ff;
}

#wrap_content {
	display: flex;
	font-size: 15px;
	flex-direction: column;
	justify-content: center;
}

#wrap_content,
#wrap_content.mbti1 {
	background-color: var(--purple);
}

I want to visible before result.

Because it's not working to ie 11.

Please check this please.

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions