https://github.com/twbs/bootstrap
Raw File
Tip revision: e34250dae2e9e876cec8477d8bac69cbcaf201ff authored by Julien Déramond on 18 October 2022, 20:14:14 UTC
Add callout to inform about the context of the stylized implementation
Tip revision: e34250d
postcss.config.js
'use strict'

const mapConfig = {
  inline: false,
  annotation: true,
  sourcesContent: true
}

module.exports = context => {
  return {
    map: context.file.dirname.includes('examples') ? false : mapConfig,
    plugins: {
      autoprefixer: {
        cascade: false
      },
      rtlcss: context.env === 'RTL'
    }
  }
}
back to top