Open MarlonLuan opened 4 years ago
I started to look at this and registered the related #7287 -- and my initial conclusion is that this is a limitation in Node/node_modules that I suspect would be very hard to get around. If you Google "set node_modules path" or something you will see that we're not alone.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
https://github.com/MarlonLuan/hugo-babel branch master contains code working
https://github.com/MarlonLuan/hugo-babel/tree/bug-babel-0.70 has code not work,
Error: Error building site: BABEL: failed to transform "scripts/main.js" (application/javascript)