-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
When 2 plugins are using the new CSS feature of wp-scripts an error happens. #23498
Comments
Can you share which version of |
In the |
Can you share this dummy plugin? I’d like to investigate it locally. |
Here you go: wp-scripts-plugin.zip |
I was also using a v11.0.0 on my plugin but I guess you can reproduce the issue with the mentioned dummy plugin. |
I was able to reproduce it myself. Thanks for help 👍 It’s strange that |
I have #23710 that fixes the issue at least for the example plugin shared. We should know more after the upcoming npm release planned for later this week. |
Describe the bug
This happened when a third party plugin I use updated to use the new feature of wp-scripts. I'm using the new feature also. An error happens when I try to import style.scss files on my block and use the build script. Using the start script is fine, only the build script is not functioning well. As it happens, some of the blocks from the other plugin also went missing.
To reproduce
Steps to reproduce the behavior:
Expected behavior
No error would pop up and no blocks from the other plugin will be missing.
Screenshots
If applicable, add screenshots to help explain your problem.
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: