Questions about the configuration of source.exclude. #4249
Unanswered
zhangziyang960
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my project, there is an old dependency whose source code is placed in the root directory's static folder. I use the
output.copy
configuration to copy it to the build output.However, during the build process, I encountered an error because some of the code in this old dependency cannot be parsed by Node.js version 20.
To address this, I tried using the source.exclude configuration to exclude the modules in the static folder from being parsed. But it didn't work.
Why is that?
Here is my complete configuration:
Beta Was this translation helpful? Give feedback.
All reactions