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

A PostCSS plugin did not pass the from option to postcss.parse. #40

Open
kkkisme opened this issue Jul 26, 2023 · 1 comment
Open

A PostCSS plugin did not pass the from option to postcss.parse. #40

kkkisme opened this issue Jul 26, 2023 · 1 comment

Comments

@kkkisme
Copy link

kkkisme commented Jul 26, 2023

when use postcss@8.4.23 and this plugin , will show below warning message:

A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue.
@kevinkace
Copy link

kevinkace commented Nov 10, 2023

I'm using postcss-modules-values with SvelteKit, and seeing this error as well as values not importing correctly from other files.

/* global.css */
@value testColor: red;
/* +layout.svelte */
@value testColor from "../global.css";
.header {
    background-color: testColor;
}

image

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

No branches or pull requests

2 participants