mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-19 17:53:36 +08:00
Use native tag styling and close controls, add pill settings, and move the sidebar toggle. Fix TablePro resize feedback, migrate viewport conversion, and add Zed workspace settings.
28 lines
657 B
JavaScript
28 lines
657 B
JavaScript
const viewportIncludeFiles = []
|
|
|
|
module.exports = {
|
|
plugins: {
|
|
autoprefixer: {
|
|
overrideBrowserslist: [
|
|
'Chrome >= 111',
|
|
'Edge >= 111',
|
|
'Firefox >= 114',
|
|
'Safari >= 16.4',
|
|
'iOS >= 16.4',
|
|
],
|
|
},
|
|
'postcss-px-conversion': viewportIncludeFiles.length > 0 && {
|
|
viewportWidth: 1920,
|
|
unitPrecision: 3,
|
|
viewportUnit: 'vw',
|
|
fontViewportUnit: 'vw',
|
|
selectorBlacklist: ['.ignore'],
|
|
minPixelValue: 1,
|
|
allowMediaQuery: false,
|
|
enablePerFileConfig: false,
|
|
includeFiles: viewportIncludeFiles,
|
|
excludeFiles: [/[/\\]node_modules[/\\]/],
|
|
},
|
|
},
|
|
}
|