mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-18 13:56:53 +00:00
23 lines
652 B
JavaScript
23 lines
652 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
require('autoprefixer'),
|
|
require('postcss-inline-svg')({
|
|
paths: ['./styles'],
|
|
encode: svg => Buffer.from(svg).toString('base64'),
|
|
transform: encoded => `"data:image/svg+xml;base64,${encoded}"`
|
|
}),
|
|
require('cssnano')({
|
|
preset: ['default', {
|
|
normalizeWhitespace: false,
|
|
svgo: {
|
|
plugins: [{
|
|
removeViewBox: false
|
|
}, {
|
|
removeDimensions: false
|
|
}],
|
|
},
|
|
}],
|
|
}),
|
|
|
|
]
|
|
}; |