chore: add PostCSS configuration

This commit is contained in:
Stefan Imhoff
2023-02-19 13:39:16 +01:00
parent 2b8077c5f1
commit 0cb5e8e648
3 changed files with 14 additions and 3 deletions

View File

@@ -17,6 +17,8 @@
"@astrojs/svelte": "^2.0.1",
"@astrojs/tailwind": "^3.0.1",
"astro": "^2.0.10",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"svelte": "^3.54.0",
"tailwindcss": "^3.0.24"
},

12
pnpm-lock.yaml generated
View File

@@ -5,11 +5,13 @@ specifiers:
'@astrojs/svelte': ^2.0.1
'@astrojs/tailwind': ^3.0.1
astro: ^2.0.10
autoprefixer: ^10.4.13
eslint: ^8.34.0
eslint-config-prettier: ^8.6.0
eslint-plugin-prettier: ^4.2.1
husky: ^8.0.0
lint-staged: ^13.1.1
postcss: ^8.4.21
prettier: ^2.8.4
prettier-plugin-astro: ^0.8.0
prettier-plugin-organize-imports: ^3.2.2
@@ -27,8 +29,10 @@ dependencies:
'@astrojs/svelte': 2.0.1_srabkpdrmffps2vsyx2my6v6uy
'@astrojs/tailwind': 3.0.1_jukmciyu6aodegbctarme2zo2y
astro: 2.0.10
autoprefixer: 10.4.13_postcss@8.4.21
postcss: 8.4.21
svelte: 3.55.1
tailwindcss: 3.2.6
tailwindcss: 3.2.6_postcss@8.4.21
devDependencies:
eslint: 8.34.0
@@ -166,7 +170,7 @@ packages:
autoprefixer: 10.4.13_postcss@8.4.21
postcss: 8.4.21
postcss-load-config: 4.0.1_postcss@8.4.21
tailwindcss: 3.2.6
tailwindcss: 3.2.6_postcss@8.4.21
transitivePeerDependencies:
- ts-node
dev: false
@@ -3997,10 +4001,12 @@ packages:
'@pkgr/utils': 2.3.1
tslib: 2.5.0
/tailwindcss/3.2.6:
/tailwindcss/3.2.6_postcss@8.4.21:
resolution: {integrity: sha512-BfgQWZrtqowOQMC2bwaSNe7xcIjdDEgixWGYOd6AL0CbKHJlvhfdbINeAW76l1sO+1ov/MJ93ODJ9yluRituIw==}
engines: {node: '>=12.13.0'}
hasBin: true
peerDependencies:
postcss: ^8.0.9
dependencies:
arg: 5.0.2
chokidar: 3.5.3

3
postcss.config.cjs Normal file
View File

@@ -0,0 +1,3 @@
module.exports = {
plugins: [require('autoprefixer')],
};