2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Convert build scripts to ESM (#38984)

This commit is contained in:
XhmikosR
2023-08-06 07:37:24 +03:00
committed by GitHub
parent 0fe3dd93f2
commit 56664e0caa
10 changed files with 67 additions and 57 deletions
+17
View File
@@ -0,0 +1,17 @@
const mapConfig = {
inline: false,
annotation: true,
sourcesContent: true
}
export default context => {
return {
map: context.file.dirname.includes('examples') ? false : mapConfig,
plugins: {
autoprefixer: {
cascade: false
},
rtlcss: context.env === 'RTL'
}
}
}