2018-11-28 06:03:28 -05:00
|
|
|
'use strict'
|
|
|
|
|
2021-12-15 03:52:49 -05:00
|
|
|
const mapConfig = {
|
|
|
|
inline: false,
|
|
|
|
annotation: true,
|
|
|
|
sourcesContent: true
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = context => {
|
2020-11-23 09:11:16 -05:00
|
|
|
return {
|
2021-12-15 03:52:49 -05:00
|
|
|
map: context.file.dirname.includes('examples') ? false : mapConfig,
|
2020-11-23 09:11:16 -05:00
|
|
|
plugins: {
|
|
|
|
autoprefixer: {
|
|
|
|
cascade: false
|
2020-11-19 08:55:32 -05:00
|
|
|
},
|
2021-12-15 03:52:49 -05:00
|
|
|
rtlcss: context.env === 'RTL'
|
2017-12-16 07:00:38 -05:00
|
|
|
}
|
2017-03-11 22:32:50 -05:00
|
|
|
}
|
2020-11-23 09:11:16 -05:00
|
|
|
}
|