Hello,
When using plugins like postcss-import it is common to split the CSS into smaller files.
Example:
Could the plugin ignore files that start with an _?
Using eleventyConfig.ignores.add("src/**/_*.pcss"); doesn't work around the problem. It seems like this also remove the files from the watch list. Meaning that if one of _*.pcss file change it doesn't trigger a new compilation.
If you move the css imported files to _includes than they are watched for changes but not copied to the build.
Something like '_includes/css' works great.
Hello, When using plugins like postcss-import it is common to split the CSS into smaller files.
Example:
Could the plugin ignore files that start with an
_
?Using
eleventyConfig.ignores.add("src/**/_*.pcss");
doesn't work around the problem. It seems like this also remove the files from the watch list. Meaning that if one of_*.pcss
file change it doesn't trigger a new compilation.