https://github.com/twbs/bootstrap
Raw File
Tip revision: 04ab8ba426582abc2ab5724ef624f4d8bc6dd726 authored by GeoSot on 11 May 2022, 09:36:05 UTC
feat(config.js): provide a `setConfig` method for all js components
Tip revision: 04ab8ba
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