Closed JinbeiStudio closed 2 years ago
I managed to fix the issue by using next-transpiles-modules on your package in next.config.js :
const withTM = require('next-transpile-modules')([
'rn-responsive-styles',
]);
@JinbeiStudio Yes that would be the correct way to handle this package with a nexpo monorepo
Hello,
I have this error on my monorepo next js / expo project using next on the web and your package.
Cannot use import statement outside a module
Would you know how to fix this ?
Thank you