elmastudio / aino-theme

A Gutenberg-ready WordPress theme.
GNU General Public License v2.0
111 stars 15 forks source link

Try: Replace Webpack with Parcel #215

Open Mamaduka opened 2 years ago

Mamaduka commented 2 years ago

Hi, it's me again 👋

I noticed that you were using webpack just to compile SCSS files with JS files as entry points. This is my small experiment, so feel free to ignore it 😄

In this PR, I'm trying to replace Webpack with Parcel 2.

Pros for using Parcel:

I did a quick test and couldn't find regression in design, but this will need to be double-checked.

Performance

Webpack Parcel - no-cache Parcel - cached
CleanShot 2022-01-15 at 13 30 41 CleanShot 2022-01-15 at 13 26 51 CleanShot 2022-01-15 at 13 27 03
ellenbauer commented 2 years ago

Oh, so cool, thank you again, I have not been using Parcel yet. I will check it out and definitely will optimise this. It sounds amazing.