brunocodutra / webapp-webpack-plugin

[DEPRECATED] use favicons-webpack-plugin instead
https://www.npmjs.com/package/webapp-webpack-plugin
MIT License
125 stars 17 forks source link

Deprecated media attribute #181

Open Scrumplex opened 5 years ago

Scrumplex commented 5 years ago

webapp-webpack-plugin utilizes media attributes, that are deprecated. Example:

<link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" href="/apple-touch-startup-image-320x460.png">

This example contains the device-width and device-height which are both deprecated in favour of width and height. [1]

These should therefore be replaced accordingly.

Validator I used: https://validator.w3.org/nu/?doc=https%3A%2F%2Fscrumplex.net&submit=Check