../common/store/users/in-flight-activity-slice.js 12:37
Module parse failed: Unexpected token (12:37)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| reducers: {
| addInFlightActivity: (state, action) => {
> const addedId = action.payload?.id;
|
Hey all! 👋
I'm getting errors because of optional chaining:
Here's my
.swcrc
file.It seems
swc
should have no problem with optional chaining but haven't had any success here. 😄