Open navarr opened 1 month ago
Are you sure that you're not mixing babel 6, 7 and/or 8? There's a thread on stackoverflow about this problem.
Fairly sure
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/plugin-transform-modules-amd": "^7.24.1",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"babel-loader": "^9.1.3",
I did manage to tweak it such that I could get it working personally, but I'm not confident enough in my changes to consider suggesting them: https://github.com/navarr/babel-plugin-amd-default-export/commit/b74048d2cfbd5f3f366f56440b12351d6ca35b75?diff=unified&w=1
This functionality would come in real handy, unfortunately I don't understand enough about Babel plugins to even consider forking it