postcss / postcss-import

PostCSS plugin to inline at-import rules content
MIT License
1.38k stars 115 forks source link

use `node.error` for CSS relevant errors #540

Closed romainmenke closed 1 year ago

romainmenke commented 1 year ago

fixes https://github.com/postcss/postcss-import/issues/518

I've kept the new Error() when checking plugin options. I don't think these are CSS syntax errors : https://github.com/postcss/postcss/blob/main/docs/guidelines/plugin.md#41-use-nodeerror-on-css-relevant-errors