Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Rewrite most of this stuff. #2

Open
cafehaine opened this issue Aug 24, 2019 · 0 comments
Open

Rewrite most of this stuff. #2

cafehaine opened this issue Aug 24, 2019 · 0 comments

Comments

@cafehaine
Copy link
Owner

After some thinking, I think it would be a better thing to create three separate libraries:

  • A CSS parser
  • An HTML parser
  • A minifyer.

Lua-minfy would then only handle the minifying of the trees generated by the parsers.

This would create a better separation of functionalities, and more importantly no longer rely on a really naive html parser that I wrote only for minifying.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant