audreyfeldroy / audreyfeldroy/complexity

Implement CSS concatenation and minification

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
118
Forks
31
PR merge metrics
No merged PRs in 30d

Description

When a user generates a Complexity site:
- All files in project/assets/css/ should be concatenated in the order that they appear in HTML
- All CSS should be minified with @zacharyvoase's cssmin project

Since this code isn't really Complexity-specific, it might as well be a separate Python package.

I've set up https://github.com/audreyr/csscrunch for this, but it isn't implemented yet. If something else comes along that already does this (fingers crossed that it will), then we can just use that instead.

Contributor guide

Open the contributing guide

Research direction

Start in the csscrunch repository and inspect how Complexity reads HTML and the project/assets/css/ directory. Determine how to preserve the order of CSS files as they appear in HTML and how to integrate @zacharyvoase's cssmin project. Done means generated Complexity sites use one concatenated, minified CSS output.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, python
Domain
build-system, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.