Adding webnative to a create-react-app built app results in a parse error:
./node_modules/webnative/lib/fs/v1/PublicTree.js 157:49
Module parse failed: Unexpected token (157:49)
File was processed with these loaders:
* ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| return { ...acc,
| [cur.name]: { ...cur,
> isFile: this.header.skeleton[cur.name]?.isFile
| }
| };
Impact
It's too hard to get webpack integrated with a simple react app.
Summary
Problem
Adding
webnative
to a create-react-app built app results in a parse error:Impact
It's too hard to get webpack integrated with a simple react app.
Versions