masonry-layout icon indicating copy to clipboard operation
masonry-layout copied to clipboard

ESM fix

Open tpluscode opened this issue 2 years ago • 1 comments

Fixes #9

In addition to type: module, the modules must all be referenced with .js extension. As a side note, I can highly recommend using eslint-plugin-require-extensions which ensures the extensions are used

The second commit is a little unrelated but it's the minimum I had to do to have the compilation work. Since you do not lock on a specific version of dependencies, I got type errors from @types/babel__traverse. Most likely caused by an old version of typescript, hence I added v5 to the dev dependencies. Let me know if you'd like this handled differently

tpluscode avatar Jun 18 '23 15:06 tpluscode

@andreasbm would appreciate this merge :)

TomasCarlson avatar Jul 06 '23 04:07 TomasCarlson