SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.15k stars 659 forks source link

Migrate from `@babel/plugin-syntax-import-assertions` to `@babel/plugin-syntax-import-attributes` #1536

Open Semigradsky opened 1 year ago

Semigradsky commented 1 year ago

Description

https://next.babeljs.io/docs/v8-migration/#babelplugin-syntax-import-assertions

Suggested Solution

.

Alternatives

No response

Additional Context

No response

dziraf commented 6 months ago

I've just tried to switch to @babel/plugin-syntax-import-attributes and while it does work with Babel, the latest version of ts-node doesn't work with with { type: xxx } syntax and we cannot run our mocha tests.