Open shermendev opened 5 years ago
Just tested the 4.0 version, still getting an error "redux-persist-crosstab": "^4.0.0-0"
Failed to compile.
./node_modules/redux-persist-crosstab/index.js
SyntaxError: \node_modules\redux-persist-crosstab\index.js: Unexpected token (3:12)
1 | // @flow
2 | import { KEY_PREFIX, REHYDRATE } from 'redux-persist/lib/constants'
> 3 | import type { PersistConfig } from 'redux-persist/es/types'
| ^
4 | import type { Store } from 'redux'
5 |
6 | type CrosstabConfig = {
I also can't add this. Is there a solution to allow this to be used @rt2zz?
Hello, I have the same problem here. I think index.js should be transpiled to use terms that nodejs understands such as 'exports' and 'require' instead of 'import'. My current ugly temporary solution was to copy the function to the index.js of my react app, then convert the syntax to js (because that's the syntax I am using for this app), and finally add the proper imports. 2 min work. Works great. I would prefer to use this package instead.
Hi, I keep getting this error:
"redux-persist-crosstab": "^3.7.0"
Minimum code to reproduce: