On Tue, Apr 28, 2020 at 4:54 pm, Pirate Praveen <prav...@onenetbeyond.org> wrote:
I'm trying to build react-window from source and getting an error,

# Build embedded copy of react-window
cd packages/react-devtools-shared/src/node_modules/react-window && \
mkdir -p dist && \
cp flow-template dist/index.cjs.js.flow && \
cp flow-template dist/index.esm.js.flow && \
rollup -c

./src/index.js → dist/index.cjs.js...
[!] (babel plugin) SyntaxError: /<<PKGBUILDDIR>>/packages/react-devtools-shared/src/node_modules/react-window/src/VariableSizeGrid.js: Unexpected token (5:12)

ok found out the issue, I need to include babel.config.js as well from the source git repo.

Reply via email to