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

update cssdb #1212

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

romainmenke
Copy link
Member

No description provided.

Comment on lines +3 to +13

const variableSpeedCreator = (delay) => {
return {
postcssPlugin: `postcss-${delay}ms`,
Once: async () => {
await new Promise((resolve) => setTimeout(resolve, delay));
}
}
}

variableSpeedCreator.postcss = true;
Copy link
Member Author

Choose a reason for hiding this comment

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

postcss-preset-env is a good case to test the slow plugin detection.
But postcss-preset-env also changes frequently.

We don't want to have to update the test expect files for the slow plugins feature each time postcss-preset-env changes.

Using abstract plugins with an arbitrary delay is also a good way to make sure it works.

@romainmenke romainmenke merged commit 14bf9be into main Dec 11, 2023
7 checks passed
@romainmenke romainmenke deleted the update-cssdb--persistent-nightingale-c5de62494b branch December 11, 2023 15:29
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.

None yet

1 participant