See package.json
and .babelrc
.
- specify
"@babel/preset-env": "7.7.5"
inpackage.json
(exactly"7.7.5"
; neigher"^7.7.5"
nor"~7.7.5"
) - use
module-extension-resolver
plugin in.babelrc
npm ci
npm run build
node --experimental-modules ./dist/index.mjs