I have a plugin project, I’m trying to use just-diff in this project. au run is failing on a bundler “writeBundles” error saying that it cannot find the file “…\node_modules\just-diff\index.mjs.js” suggesting to use allowEmpty. It seems like it is tacking “.js” onto the end of the module property of just-diff’s package.json. Has anyone else ever seen this before?
I was able to get this to work by specifying ‘just-diff/index’ as the import path, still seems like I shouldn’t have to do that though. I assume something about the aurelia-cli bundler doesn’t support dependencies like that? Or maybe just-diff is not configured correctly? Idk