pythonindia / inpycon2019

Website for PyCon India 2019
https://in.pycon.org
Other
16 stars 27 forks source link

Optimisation layer for prod builds to do stuff like minification #11

Closed astronomersiva closed 5 years ago

astronomersiva commented 5 years ago

While Jekyll is an easy way to maintain static sites, there are not much plugins that allow you to do things like inlining critical styles.

We should explore having a second layer in the build process where the output of jekyll build is passed and things like minification, autoprefixing CSS, asset versioning and inlining take place. I believe this is something where we should use the JavaScript ecosystem as that's where tools like these are primarily built and used.

IMO, we could try Parcel as it doesn't need any configuration and it should work out of the box without much changes and still cover all of these requirements.

astronomersiva commented 5 years ago

Fixed with #12

astronomersiva commented 5 years ago

Reverted this as it is causing issues with relative file paths. Need to check.

astronomersiva commented 5 years ago

Closed in #14 using publicUrl