esbuild-css-modules-plugin icon indicating copy to clipboard operation
esbuild-css-modules-plugin copied to clipboard

Unknown at rule: @value > postcss plugins not allowed

Open chrisdugne opened this issue 3 years ago • 3 comments

Hello,

I got error when using @value annotation:

✘ [ERROR] [plugin esbuild-css-modules-plugin] Unknown at rule: @value

example using:

@value colors: "./colors.css";
@value dark from colors;

.button {
  background-color: dark;
}

chrisdugne avatar May 19 '22 18:05 chrisdugne

@value may be currently not supported by https://github.com/parcel-bundler/parcel-css which is used to transform css if v2 set to true

indooorsman avatar May 20 '22 05:05 indooorsman

ok I see, here would be the issue to follow then https://github.com/parcel-bundler/parcel-css/issues/6

chrisdugne avatar May 23 '22 09:05 chrisdugne

solution for v1 #36

chrisdugne avatar May 27 '22 17:05 chrisdugne