-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unreasonably long bundling time after updating rollup-plugin-css-only from 3.1.0 to 4.2.0 #49
Comments
Interesting that dependabot suggests major upgrades. I could release a minor upgrade to v3 with only rollup 3 support? |
Does that mean it should not have suggested that update to us? If so, why not... and do you know why bundling takes so long? |
Also I see v4 brought some breaking changes, but couldn't find any info on what needs to be changed in order to make it work again. Is the migration process documented anywhere? |
To be honest, I'm not using this module/Rollup anymore. The main change is that you should replace the output option with the name or filename option. |
Ahh, okey :) Should it be replaced with this? |
I ran into this problem, too. Downgrading to version 3.1.x fixed the problem. ccnmtl/3demos#90 |
Using the new version (4.2.0), |
Using v3 is fine, v4 is just there because Rollup provided a new API that may be more powerful. |
Hi, we're using this project in a government project written in svelte. After updating rollup-plugin-css-only from 3.1.0 to 4.2.0 we're experiencing a significant increase in the bundling time.
After running
npm i
andnpm run dev
with the following setup"dev": "rollup -c -w"
, it runs in 5min instead of 12 seconds. The same happens withnpm run build
with the following setup"build": "rollup -c"
The only changes done were to package.json and package-lock.json (PR by dependabot), so we are sure the issue is with this plugin, but not sure exactly what the issue is.
Before updating:
![image](https://user-images.githubusercontent.com/43886029/198556585-a52e33ab-84c8-4e7b-a1c7-6081a0a39f91.png)
12.2s
After updating:
![image](https://user-images.githubusercontent.com/43886029/198556623-86bf6f68-fd2d-4cdd-afd6-748dce3da0c9.png)
5m 16s
The project is private, so I can't share much, but here's some config files we use, which may or may not be relevant:
project_config_files.zip
Let me know if you need any more info, and I'll try to provide it quickly
The text was updated successfully, but these errors were encountered: