TrySound / postcss-easy-import

PostCSS plugin to inline @import rules content with extra features
MIT License
201 stars 25 forks source link

Import error message does not specify error file's path #37

Open hmalaud opened 4 years ago

hmalaud commented 4 years ago

Using sugarss, when trying to import a file with an error (in this case, adding a semicolon at the end of a line), with the following project structure:

styles/styles.sss (master file)
styles/utils/mixins.sss

postcss-import outputs the full path of the nested error with the error type: postcss-import: /Users/.../utils/mixins.sss:17:42: Unnecessary semicolon, postcss-easy-import only outputs precss: /Users/.../styles.sss:9:1: Could not resolve the @import for "utils/mixins.sss".

Is it not possible to keep the full path in order to know what should be fixed and where?