aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/build/postcss.config.js')
-rw-r--r--vendor/twbs/bootstrap/build/postcss.config.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/vendor/twbs/bootstrap/build/postcss.config.js b/vendor/twbs/bootstrap/build/postcss.config.js
index b179a0e77..7f8186d10 100644
--- a/vendor/twbs/bootstrap/build/postcss.config.js
+++ b/vendor/twbs/bootstrap/build/postcss.config.js
@@ -1,19 +1,19 @@
'use strict'
-module.exports = ctx => {
+const mapConfig = {
+ inline: false,
+ annotation: true,
+ sourcesContent: true
+}
+
+module.exports = context => {
return {
- map: ctx.file.dirname.includes('examples') ?
- false :
- {
- inline: false,
- annotation: true,
- sourcesContent: true
- },
+ map: context.file.dirname.includes('examples') ? false : mapConfig,
plugins: {
autoprefixer: {
cascade: false
},
- rtlcss: ctx.env === 'RTL' ? {} : false
+ rtlcss: context.env === 'RTL'
}
}
}