CSS plugin for sitespeed.io
The plugin-css
is a plugin for sitespeed.io that helps identify and log "Cascading Style Sheets" (CSS) errors during web testing. It integrates with sitespeed.io to provide detailed information about CSS errors.
To install the plugin, run the following command:
npm install plugin-css
To use the plugin with sitespeed.io, add it to your sitespeed.io configuration file or command line options.
Add the plugin to your sitespeed.io configuration file:
{
"plugins": {
"plugin-css": {
"enabled": true
}
}
}
You can also enable the plugin via the command line:
sitespeed.io --plugins.add plugin-css
Here is an example of how to use the plugin with sitespeed.io:
sitespeed.io https://www.example.com --plugins.add plugin-css
To run the tests, use the following command:
npm test
To lint the code, use the following command:
npm run lint
To automatically fix linting issues, use the following command:
npm run lint:fix
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
- 7h3Rabbit - GitHub