I’m creating a new library using mantine ui as layer and storybookjs. Everything is working fine every components is rendering on storybookjs but when I’m trying to link my library with nextjs project then the error is coming not working I don’t know why
I have added web pack loader but it still not working.
Module parse failed: The keyword 'interface' is reserved (118:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }));