The static
import
declaration is used to import read-only live bindings which are exported by another module.(c) MDN
🐊Putout plugin adds ability to declare imports first.
Check out in 🐊Putout Editor.
npm i @putout/plugin-declare-imports-first
{
"rules": {
"declare-imports-first": "on"
}
}
const [arg] = process.argv;
import esbuild from 'esbuild';
import esbuild from 'esbuild';
const [arg] = process.argv;
MIT