Nikita Stenin
Nikita Stenin
In my opinion, this implementation is more correct and also solves the problem above ```typescript Module._resolveFilename = function(request: string, _parent: any): string { try { // tslint:disable-next-line:no-invalid-this return originalResolveFilename.apply(this, arguments);...
I recreated the problem in the sandbox. You need to download the project and run `npm install` and `npm start`. [https://codesandbox.io/s/7klz2y4v30](https://codesandbox.io/s/7klz2y4v30)
I think my solution will not cause performance problems. It may be worth checking the type of error. For example: ```typescript try { // tslint:disable-next-line:no-invalid-this return originalResolveFilename.apply(this, arguments); } catch...
Глобально мержить может быть не совсем хорошая идея - стили могут начать применяться там, где не нужно. Я поэкспериментировал и получилось примерно [следующее](https://codesandbox.io/s/bem-react-css-modules-osyxl?file=/src/App.tsx) Из плюсов здесь то, что такой подход...
Sorry for not responding for a long time. At the moment I have a lot of work and I can't update the code to V2. But I think if you...