2025-02-17 07:02:47 +01:00
|
|
|
const mapConfig = {
|
|
|
|
inline: false,
|
|
|
|
annotation: true,
|
|
|
|
sourcesContent: true
|
|
|
|
}
|
|
|
|
|
2025-02-17 07:09:00 +01:00
|
|
|
export default context => {
|
2025-02-17 07:02:47 +01:00
|
|
|
return {
|
|
|
|
map: context.file.dirname.includes('examples') ? false : mapConfig,
|
|
|
|
plugins: {
|
|
|
|
autoprefixer: {
|
|
|
|
cascade: false
|
|
|
|
},
|
|
|
|
rtlcss: context.env === 'RTL'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|