DEV Community

Discussion on: Using WebAssembly with React

Collapse
 
adrianmcli profile image
Adrian Li

You need to add the following to .babelrc

"plugins": ["@babel/plugin-syntax-dynamic-import"]

And also:

npm install @babel/plugin-syntax-dynamic-import