Files
upstream-univer/common/shared/postcss/postcss.config.mjs
upstream-mirror bcf6ef63ad
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
snapshot of https://github.com/dream-num/univer.git (dev, 2026-09-16; blobs > 131072B omitted)
2026-09-16 05:09:45 +05:00

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;