Closed miedzikd closed 2 years ago
Can you post more details about your environment, settings, and how you are attempting to import? Beyond that try clearing your node modules and reeinstalling
OK I found reason... We are using webpack and webpack 5 have change the way it builds the project dependencies https://webpack.js.org/configuration/module/#resolvefullyspecified
When package.json contains a field of "type" with the value of "module" , webpack requires a full path(including the file extension, like .js/.mjs),otherwise webpack would fail the compiling with a Module not found error. Setting fullySpecified to false disables this behavior.
After migration to v1 I got some warnings and errors... webpack can't compile page now ;/
Any tips?