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
34
| /* eslint-disable @typescript-eslint/no-var-requires */
| module.exports = {
| plugins: [
| {
| postcssPlugin: 'internal:charset-removal',
| AtRule: {
| charset: (atRule) => {
| if (atRule.name === 'charset') {
| atRule.remove()
| }
| },
| },
| },
| require('autoprefixer'),
| require('postcss-import'),
| // require('postcss-px-to-viewport')({
| // unitToConvert: 'px',
| // viewportWidth: 1280,
| // unitPrecision: 5,
| // propList: ['*'],
| // viewportUnit: 'vw',
| // fontViewportUnit: 'vw',
| // selectorBlackList: [],
| // minPixelValue: 1,
| // mediaQuery: false,
| // replace: true,
| // exclude: undefined,
| // include: undefined,
| // landscape: false,
| // landscapeUnit: 'vw',
| // landscapeWidth: 568,
| // }),
| ],
| }
|
|