aboutsummaryrefslogtreecommitdiff
path: root/dokka-subprojects/plugin-base-frontend/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-subprojects/plugin-base-frontend/postcss.config.js')
-rw-r--r--dokka-subprojects/plugin-base-frontend/postcss.config.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/dokka-subprojects/plugin-base-frontend/postcss.config.js b/dokka-subprojects/plugin-base-frontend/postcss.config.js
new file mode 100644
index 00000000..6e081d88
--- /dev/null
+++ b/dokka-subprojects/plugin-base-frontend/postcss.config.js
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+module.exports = () => ({
+ plugins: [
+ require('postcss-import'),
+ require('postcss-preset-env')({
+ features: {
+ stage: 3, // See https://cssdb.org/#staging-process
+ features: {
+ 'nesting-rules': true,
+ 'custom-properties': {
+ preserve: true
+ }
+ }
+ }
+ })
+ ]
+});