Skip to content

Commit b61be01

Browse files
committed
* disable https://github.com/csstools/postcss-logical as autoprefixer will prefix them with -webkit-* that supported since Chrome 8: mdn/browser-compat-data#29322 @ nuxt.config.ts
@ fe
1 parent d994931 commit b61be01

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

fe/nuxt.config.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,14 @@ export default defineNuxtConfig({
9494
}
9595
},
9696
postcss: {
97-
// eslint-disable-next-line @typescript-eslint/naming-convention
98-
plugins: { 'postcss-preset-env': { minimumVendorImplementations: 2 } }
97+
plugins: {
98+
/* eslint-disable @typescript-eslint/naming-convention */
99+
'postcss-preset-env': {
100+
minimumVendorImplementations: 2,
101+
features: { 'logical-properties-and-values': false }
102+
}
103+
/* eslint-enable @typescript-eslint/naming-convention */
104+
}
99105
},
100106
experimental: {
101107
viewTransition: true,

0 commit comments

Comments
 (0)