Merge branch 'postcss-csso'

https://codeberg.org/kytta/shareon/pulls/8
pull/45/head
Nikita Karamov 2022-02-10 22:38:43 +01:00
commit 51ec64b236
No known key found for this signature in database
GPG Key ID: 3C8E688C96EEB9C9
2 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,6 @@
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.5",
"autoprefixer": "^10.4.2",
"cssnano": "^5.0.16",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-unicorn": "^40.1.0",
@ -56,6 +55,7 @@
"postcss-calc": "^8.2.3",
"postcss-cli": "^9.1.0",
"postcss-css-variables": "^0.18.0",
"postcss-csso": "^6.0.0",
"prettier": "^2.5.1",
"size-limit": "^7.0.5",
"vite": "^2.8.0"

View File

@ -8,10 +8,8 @@ module.exports = {
plugins: [
require("postcss-css-variables"),
require("postcss-calc"),
require("cssnano")({
preset: "default",
}),
require("autoprefixer"),
require("postcss-csso"),
require("postcss-banner")({
banner: bannerText,
important: true,