Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin works incorrectly with "classnames" #4

Open
r0otx opened this issue Jun 7, 2022 · 2 comments
Open

The plugin works incorrectly with "classnames" #4

r0otx opened this issue Jun 7, 2022 · 2 comments

Comments

@r0otx
Copy link

r0otx commented Jun 7, 2022

Обнаружил такую проблему, когда установил модуль "classnames", изменился принцип указания классов для блоков т.е. если раньше писал import from "./App.css" и использование className="wrapper", то теперь импортирование css происходит вот так import styles from "./App.css" и в коде следовательно указание классов становится вот таким className={styles.wrapper}, когда копирую плагином классы уже некорректно извлекаются, скобки лишние, закрываются и открываются не там, где нужно. Очень бы хотелось продолжить работу с плагином, сильно облегчает жизнь при разработке.

@r0otx r0otx changed the title Некорректно работает плагин с модулем react "classnames" Некорректно работает плагин с модулем "classnames" Jun 7, 2022
@Pastbin
Copy link

Pastbin commented Sep 19, 2022

У меня тоже не работает с модулями css :( было бы очень удобно!

@anstarovoyt anstarovoyt changed the title Некорректно работает плагин с модулем "classnames" The plugin works incorrectly with "classnames" Nov 18, 2022
@anstarovoyt
Copy link
Owner

Hi! What's the expected result there? The simplest solution is to ignore the classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants