aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/frontend/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/frontend/postcss.config.js')
-rw-r--r--plugins/base/frontend/postcss.config.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/base/frontend/postcss.config.js b/plugins/base/frontend/postcss.config.js
new file mode 100644
index 00000000..66c94ee0
--- /dev/null
+++ b/plugins/base/frontend/postcss.config.js
@@ -0,0 +1,16 @@
+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
+ }
+ }
+ }
+ })
+ ]
+});