Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean & minimize HTML #4

Closed
elbakerino opened this issue Sep 26, 2020 · 0 comments
Closed

Clean & minimize HTML #4

elbakerino opened this issue Sep 26, 2020 · 0 comments

Comments

@elbakerino
Copy link
Member

elbakerino commented Sep 26, 2020

Cleaning and minimizing HTML works either through html-minifier or @ampproject/toolbox-optimizer.

For HTML with the inline CSS clean task #5 removes also unused styles in body.

See AmpCreatorOptions for ways to configure.

elbakerino added a commit that referenced this issue Sep 27, 2020
add tasks:
- remove unused inline css
- custom cssInjectTag
- AMP Optimizer Toolbox
- Minify HTML for non-AMP pages

cleaning of files:
- split options to own file for typings
- split html task middlewares to own files;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant