viclafouch/mui-chips-input

SyntaxError: Cannot use import statement outside a module

Closed this issue · 1 comments

Describe the bug
When I try to Transpile my code, the snippet with this library being imported starts to break!

To Reproduce
Steps to reproduce the behavior:

  1. Write code
  2. Transpile for SSR with babel
  3. Run the express server
  4. You end up with something like this pretty soon
    image

Hello !

You have to transpile the library as it is an ESM package.