Open riwu opened 5 years ago
config = injectBabelPlugin(['import', { libraryName: 'date-fns', libraryDirectory: '' }], config);
The modules are in the node_modules/date-fns folder but it gave an error:
Module not found: Error: Can't resolve 'date-fns/difference-in-calendar-weeks' in ...
Is the problem solved? If you solve it, please share it.
try babel-plugin-date-fns
The modules are in the node_modules/date-fns folder but it gave an error: