Closed eekboom closed 1 year ago
https://github.com/postcss/postcss/blob/master/docs/api.md#inputoriginline-column their is an api available to us for getting the original line.
https://github.com/anandthakker/doiuse/blob/master/src/doiuse.js#L51 will need modifying.
Would you be able to PR some changes?
I would suggest pairing with stylelint via stylelint-no-unsupported-browser-features instead instead of the project building its own source maps.
That says there already is some source code in the project, so a better example of the issue might be needed.
We use stylus to compile to a single css file. Unfortunately that means we currently get all doiuse warnings without reference to the actual source. (Everything displays like :1:2037: Some warning)
The browser is able to show the correct Stylus line numbers and file names.
The CSS file contains the sourcemap starting with
/*# sourceMappingURL=data:application/json;base64,