summaryrefslogtreecommitdiff
path: root/src/stylesheets/postcss.config.js
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-02-11 01:24:10 -0700
committerDan Allen <dan.j.allen@gmail.com>2022-02-11 01:24:10 -0700
commit48eec90d438d3463bc7071ba5d3c6c0f09c95209 (patch)
treef3f5a4342719da4bd709ad67b201e2efd5c79cee /src/stylesheets/postcss.config.js
parent1cfe82949c2634e4efa145c23be3014711575708 (diff)
specify postcss plugins as absolute paths in stylesheet build
Diffstat (limited to 'src/stylesheets/postcss.config.js')
-rw-r--r--src/stylesheets/postcss.config.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stylesheets/postcss.config.js b/src/stylesheets/postcss.config.js
index a379527d..d40c4c46 100644
--- a/src/stylesheets/postcss.config.js
+++ b/src/stylesheets/postcss.config.js
@@ -1,3 +1,5 @@
+'use strict'
+
module.exports = (ctx) => ({
plugins: {
autoprefixer: true,
@@ -15,7 +17,7 @@ module.exports = (ctx) => ({
},
]
},
- './lib/postcss-minify-selectors.js': true,
- './lib/postcss-rule-per-line.js': true,
+ [require.resolve('./lib/postcss-minify-selectors.js')]: true,
+ [require.resolve('./lib/postcss-rule-per-line.js')]: true,
}
})