-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpostcss.config.ts
More file actions
33 lines (30 loc) · 1.11 KB
/
postcss.config.ts
File metadata and controls
33 lines (30 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// https://github.com/michael-ciniawsky/postcss-load-config
import autoprefixer from 'autoprefixer';
import { Config } from 'postcss-load-config';
// NOTE: Can't directly use `export default` as we run into microsoft/TypeScript#58176 otherwise
// explicitly declaring the config type like this fixes
// the "The inferred type of 'default' cannot be named" error
const config: Config = {
plugins: [
// https://github.com/postcss/autoprefixer
autoprefixer({
overrideBrowserslist: [
'last 4 Chrome versions',
'last 4 Firefox versions',
'last 4 Edge versions',
'last 4 Safari versions',
'last 4 Android versions',
'last 4 ChromeAndroid versions',
'last 4 FirefoxAndroid versions',
'last 4 iOS versions',
],
}),
// https://github.com/elchininet/postcss-rtlcss
// If you want to support RTL css, then
// 1. yarn/npm install postcss-rtlcss
// 2. optionally set quasar.config.js > framework > lang to an RTL language
// 3. uncomment the following line:
// require('postcss-rtlcss')
],
};
export default config;