diff options
Diffstat (limited to 'build/postcss.config.mjs')
-rw-r--r-- | build/postcss.config.mjs | 17 |
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' + } + } +} |