Removed css-mqpacker PostCSS plugin

The plugin was deprecated some time ago and may yield unintended side-effects
due to the re-ordering of media queries.
This commit is contained in:
squidfunk 2020-04-26 13:55:33 +02:00 committed by Martin Donath
parent 7eb6cb6536
commit a5726dc9d2
12 changed files with 14 additions and 26 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.d1e549c9.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.58d22e8e.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.58d22e8e.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.91a7bba4.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.91a7bba4.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.a4b61a0c.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.a4b61a0c.min.css.map"
"assets/stylesheets/main.css": "assets/stylesheets/main.bc24890a.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.bc24890a.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.883290b5.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.883290b5.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,9 +41,9 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.91a7bba4.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.bc24890a.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a4b61a0c.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.883290b5.min.css' | url }}">
{% endif %}
{% if palette.primary %}
{% import "partials/palette.html" as map %}

10
package-lock.json generated
View File

@ -1838,16 +1838,6 @@
}
}
},
"css-mqpacker": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/css-mqpacker/-/css-mqpacker-7.0.0.tgz",
"integrity": "sha512-temVrWS+sB4uocE2quhW8ru/KguDmGhCU7zN213KxtDvWOH3WS/ZUStfpF4fdCT7W8fPpFrQdWRFqtFtPPfBLA==",
"dev": true,
"requires": {
"minimist": "^1.2.0",
"postcss": "^7.0.0"
}
},
"cssesc": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",

View File

@ -57,7 +57,6 @@
"autoprefixer": "^9.7.6",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.5.2",
"css-mqpacker": "^7.0.0",
"event-hooks-webpack-plugin": "^2.1.6",
"expose-loader": "^0.7.5",
"github-types": "^1.0.0",

View File

@ -126,8 +126,7 @@ function config(args: Configuration): Configuration {
options: {
ident: "postcss",
plugins: () => [
require("autoprefixer")(),
require("css-mqpacker")
require("autoprefixer")()
],
sourceMap: true
}