aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build/postcss.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/build/postcss.config.mjs')
-rw-r--r--vendor/twbs/bootstrap/build/postcss.config.mjs17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/build/postcss.config.mjs b/vendor/twbs/bootstrap/build/postcss.config.mjs
new file mode 100644
index 000000000..7717cfc3f
--- /dev/null
+++ b/vendor/twbs/bootstrap/build/postcss.config.mjs
@@ -0,0 +1,17 @@
+const mapConfig = {
+ inline: false,
+ annotation: true,
+ sourcesContent: true
+}
+
+export default context => {
+ return {
+ map: context.file.dirname.includes('examples') ? false : mapConfig,
+ plugins: {
+ autoprefixer: {
+ cascade: false
+ },
+ rtlcss: context.env === 'RTL'
+ }
+ }
+}