Comments (7)
A static website has multiple pages. But ligthouse
just run on one page. Anyway, Let's focus on the main page first.
from lighthouse-auto-fix.
@alex-e-leon Firstly, I think we should collect some requirements and see how many works we could do. Then we should set up a metric and tool to collect the indicator we care.
from lighthouse-auto-fix.
Yeah - I think that's spot on - I reckon we should try to implement each of the lighthouse rules one by one - using your blog as a test ground.
How about picking one of the failing tests on your blog to start with and seeing if we can automate the fixing of it?
from lighthouse-auto-fix.
Yeah, I am doing some research.
Here's the audit result from [lighthouse]. Audit result
If we're looking for a lib for manipulating DOM. cheerio might be suitable for us.
I don't think we could see webpack support HTML as entry
in this year.
from lighthouse-auto-fix.
Rather than using cheerio - I usually prefer using jsdom, or even more powerful, just using headless chrome - as it gives you all the regular dom utils and a familiar API - as well as probably the best 2 html parsers + editors out there
from lighthouse-auto-fix.
jsdom
is more powerful. So far what we want is just manipulation of DOM, we could choose cheerio first. We could switch to jsdom
when necessary.
from lighthouse-auto-fix.
from lighthouse-auto-fix.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lighthouse-auto-fix.