-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can I push a file to plugin output file list? #837
Comments
Not yet. But that might not be what you want here. If you were to use the plugin proposed above where you write source maps to the file system outside of esbuild's view like this, the source maps would be broken because they would be referencing offsets in the input file instead of the output file. There are several things here including:
I think the real solution for this would be for esbuild to support source maps. Then you could pass the source map along with |
Maybe in my case sourcemap support will resolve the problem. But there are situations where developer would like to create additional files for correct file transform. |
You can now do this using an |
Hi!
Does exist an opportunity to push file to output file list via plugin API?
I have a plugin to transform stylus to css files. And I want to generate external sourcemaps.
I have 2 problems:
I see 2 solutions for this problem.
What do you think about this?
The text was updated successfully, but these errors were encountered: