TypeChain
TypeChain copied to clipboard
Loader issue using NuxtJS
When trying to import a contract factory, the following generated line throws an error:
...
export * as factories from "./factories";
...
I think it may be related to exporting a directory instead of a file, but I can't find a fix. If I remove this line, it works, but generated code shouldn't be edited.
The displayed error is the following: You may need an additional loader to handle the result of these loaders.