Questions about the configuration of source.exclude. #4249
Unanswered
zhangziyang960
asked this question in
Q&A
Replies: 1 comment
-
Can you share the code that cannot be parsed? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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