I just switch from postcss standalone usage to this esbuild plugin.
I've got a error while building assets when esbuild sourcemap option is activated. Not really sure what is the exact issue.
I did a small add to reproduce my issue https://github.com/nicolas-brousse/esbuild-plugin-postcss2-sourcemap-example
% yarn build:js
yarn run v1.22.10
$ node esbuild.config.js
> ../../../../../tmp/tmp-9410-w6LlF5dL3Txt/esbuild/src/vendors.css:1091:21: debug: Failed to read file "../../../../../tmp/tmp-9410-w6LlF5dL3Txt/esbuild/src/vendors.css.map": open /tmp/tmp-9410-w6LlF5dL3Txt/esbuild/src/vendors.css.map: no such file or directory
1091 │ /*# sourceMappingURL=vendors.css.map */
╵ ~~~~~~~~~~~~~~~
build/vendors.css 24.0kb
build/vendors.css.map 31.3kb
Done in 0.66s.
I just switch from postcss standalone usage to this esbuild plugin.
I've got a error while building assets when esbuild
sourcemapoption is activated. Not really sure what is the exact issue.I did a small add to reproduce my issue https://github.com/nicolas-brousse/esbuild-plugin-postcss2-sourcemap-example