I setup my rtl configuration step by step in v5mui
. Using:
- emotion as styled-engine
- stylis v4
- stylis-plugin-rtl v2
Every thing is OK but when using some complicated component my app appearance crashes. There are a warning in terminal that I think will be the answer... but I don't understand it.
WARNING in ./node_modules/stylis-plugin-rtl/dist/stylis-rtl.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/hamid/Desktop/zahra/node_modules/stylis-plugin-rtl/src/stylis-rtl.ts' file: Error: ENOENT: no such file or directory, open '/home/hamid/Desktop/zahra/node_modules/stylis-plugin-rtl/src/stylis-rtl.ts'
@ ./src/index.js 8:0-42 15:18-27