-
-
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
Configuring spack with an array leads to Node OOM (heap) #1762
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Passing an array to
config
from@swc/core/spack
inspack.config.js
makes the process hang and eventually leads to an OOM error.Input code
MVP repository with example stack traces:
https://github.com/tmpfs/spack-array-config-bug
Config
See the MVP repository.
Expected behavior
I expect
spack
to respect multiple entry points when an array is given.Version
The version of @swc/core: 1.2.58
Additional context
It looks like arrays should be supported according to the type definition here: https://github.com/swc-project/swc/blob/master/node-swc/src/spack.ts#L5 but I may be mis-interpreting the code.
The text was updated successfully, but these errors were encountered: