mirror of
https://github.com/dream-num/univer.git
synced 2026-09-15 02:59:28 +08:00
27 lines
626 B
JavaScript
27 lines
626 B
JavaScript
import autoprefixer from 'autoprefixer';
|
|
import env from 'postcss-preset-env';
|
|
import replace from 'postcss-replace';
|
|
import tailwindcss from 'tailwindcss';
|
|
|
|
/** @type {import('postcss-load-config').Config} */
|
|
const config = {
|
|
plugins: [
|
|
tailwindcss,
|
|
autoprefixer,
|
|
env({
|
|
features: {
|
|
'color-functional-notation': true,
|
|
'hexadecimal-alpha-notation': true,
|
|
},
|
|
}),
|
|
replace({
|
|
pattern: /(--tw|\*)/g,
|
|
data: {
|
|
'--tw': '--univer-tw',
|
|
},
|
|
}),
|
|
],
|
|
};
|
|
|
|
export default config;
|