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
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;
|