Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to read file with esbuild sourcemap option enabled #26

Open
nicolas-brousse opened this issue Nov 25, 2021 · 0 comments
Open

Failed to read file with esbuild sourcemap option enabled #26

nicolas-brousse opened this issue Nov 25, 2021 · 0 comments

Comments

@nicolas-brousse
Copy link
Contributor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant