Skip to content

Commit

Permalink
Fix autoprefix
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Nov 23, 2024
1 parent ff4bb16 commit 0b8d352
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"@types/ua-parser-js": "^0.7.39",
"@vitejs/plugin-legacy": "^5.4.3",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"babel-plugin-react-compiler": "0.0.0-experimental-19c7e06-20241113",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -146,6 +147,7 @@
"jsdom": "^25.0.1",
"lightningcss": "^1.28.1",
"mdast-util-lemmy-spoiler": "^2.0.0",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"pwa-asset-generator": "^6.4.0",
"release-it": "^17.10.0",
Expand Down
40 changes: 40 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
plugins: {
autoprefixer: {},
},
};
4 changes: 0 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,10 @@ export default defineConfig({
"APP_VERSION",
"APP_GIT_REF",
],
css: {
transformer: "lightningcss",
},
// TODO: Outdated clients trying to access stale codesplit js chucks
// break. This breaks iOS transitions.
// Put everything into one chunk for now.
build: {
cssMinify: "lightningcss",
chunkSizeWarningLimit: 5_000,
rollupOptions: {
output: {
Expand Down

0 comments on commit 0b8d352

Please sign in to comment.