You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this, the task fails with this error:
Message:
Failed to deserialize swc::config::Options from json string (`{"0":{"test":".*.js$","jsc":{"parser":{"jsx":true},"target":"es5"},"module":{"type":"commonjs"}},"filename":"/Users/username/repos/reponame/resources/static/scripts/requireConfig.js","sourceMaps":false,"caller":{"name":"gulp-swc"}}`)
Caused by:
unknown field `0` at line 1 column 230
If I don't pass the test key, the JS transpiles, but I have two different module systems in the codebase, so the test option is necessary.
The text was updated successfully, but these errors were encountered:
This is my swcOptions object:
When running this, the task fails with this error:
If I don't pass the test key, the JS transpiles, but I have two different module systems in the codebase, so the test option is necessary.
The text was updated successfully, but these errors were encountered: