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 sprite is not saved when building the project #3

Open
ghost opened this issue May 16, 2023 · 9 comments
Open

The sprite is not saved when building the project #3

ghost opened this issue May 16, 2023 · 9 comments

Comments

@ghost
Copy link

ghost commented May 16, 2023

No description provided.

@ghost
Copy link
Author

ghost commented May 16, 2023

When running the "vite build" command, the plugin generates a sprite in the template, but after completion and when running the script, the sprite is not added to the template and it does not exist at all

@ghost
Copy link
Author

ghost commented May 16, 2023

xd @rodshtein

@ghost
Copy link
Author

ghost commented May 16, 2023

Я извиняюсь, так вы ещё и русскоговорящий, так будет проще)

@rodshtein
Copy link
Owner

Это поведение воспроизводится на чистой сборке?

@ghost
Copy link
Author

ghost commented May 16, 2023

Да. При dev сборке на vite, всё отрабатывает как надо. Когда отключаешь dev сборку возвращается тег на место спрайта, всё как надо. А при билде, спрайт не сохраняется.

@ghost
Copy link
Author

ghost commented May 16, 2023

Единственный вариант какой я нашёл это просто во время разработки скопировать тег спрайта, и перед билдом вставить за место тега плагина.

@ghost
Copy link
Author

ghost commented May 16, 2023

Единственное что не из чистой сборки - это adapter-node, но без него не происходит билд проекта

@ghost
Copy link
Author

ghost commented May 17, 2023

Добрый день. Существует ли решение данной проблемы?

@rodshtein
Copy link
Owner

Дело в том, что раньше всё работало. Возможно что-то поменялось в vite. Мне нужно чуть времени на проверку.

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

1 participant