2021-12-15 10:52:49 +02:00
|
|
|
const mapConfig = {
|
|
|
|
inline: false,
|
|
|
|
annotation: true,
|
|
|
|
sourcesContent: true
|
|
|
|
}
|
|
|
|
|
2021-08-26 19:12:28 +03:00
|
|
|
// eslint-disable-next-line import/no-anonymous-default-export
|
2023-08-06 07:37:24 +03:00
|
|
|
export default context => {
|
2020-11-23 16:11:16 +02:00
|
|
|
return {
|
2021-12-15 10:52:49 +02:00
|
|
|
map: context.file.dirname.includes('examples') ? false : mapConfig,
|
2020-11-23 16:11:16 +02:00
|
|
|
plugins: {
|
|
|
|
autoprefixer: {
|
|
|
|
cascade: false
|
2020-11-19 15:55:32 +02:00
|
|
|
},
|
2021-12-15 10:52:49 +02:00
|
|
|
rtlcss: context.env === 'RTL'
|
2017-12-16 14:00:38 +02:00
|
|
|
}
|
2017-03-12 03:32:50 +00:00
|
|
|
}
|
2020-11-23 16:11:16 +02:00
|
|
|
}
|