I tried this next-transpile-modules approach used here to integrate module from react JS to next JS. I am successfully able to transpile modules. But i get run time error.
I am actually transpiling the whole package in my next JS. which works fine. But i am getting this error. Can you help me.
This is where i import shopping list from another project using npm link. and use transpile-module to resolve all dependencies.
Error in next JS after the import.
This is package file of shopping-list module.
This is index.js which is imported as shopping-list.
I tried this next-transpile-modules approach used here to integrate module from react JS to next JS. I am successfully able to transpile modules. But i get run time error.
I am actually transpiling the whole package in my next JS. which works fine. But i am getting this error. Can you help me.
This is where i import shopping list from another project using npm link. and use transpile-module to resolve all dependencies.
Error in next JS after the import.
This is package file of shopping-list module.
This is index.js which is imported as shopping-list.