summaryrefslogtreecommitdiffstats
path: root/build/postcss.config.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:22:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:22:02 +0000
commit8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f (patch)
treec651acc917541c3ad4fc91eb30df52c2f07095fd /build/postcss.config.mjs
parentAdding upstream version 5.3.1+dfsg. (diff)
downloadbootstrap-html-8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f.tar.xz
bootstrap-html-8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f.zip
Adding upstream version 5.3.3+dfsg.upstream/5.3.3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/postcss.config.mjs')
-rw-r--r--build/postcss.config.mjs17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/postcss.config.mjs b/build/postcss.config.mjs
new file mode 100644
index 0000000..7717cfc
--- /dev/null
+++ b/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'
+ }
+ }
+}