2023-02-15 17:02:59 +08:00
|
|
|
{
|
|
|
|
"extends": "@parcel/config-default",
|
|
|
|
"optimizers": {
|
|
|
|
// Disable optimizers in arm64 arch https://github.com/parcel-bundler/parcel/issues/7402
|
|
|
|
"*.{jpg,jpeg,png}": []
|
|
|
|
},
|
|
|
|
"transformers": {
|
2023-06-16 16:05:39 +08:00
|
|
|
"raw:*": ["@parcel/transformer-raw"],
|
|
|
|
"**/assets/**/*.svg": [
|
2023-02-15 17:02:59 +08:00
|
|
|
"@parcel/transformer-svg-react"
|
2024-02-26 11:37:53 +08:00
|
|
|
],
|
|
|
|
"*.{md,mdx}": [
|
|
|
|
"@parcel/transformer-mdx"
|
2023-02-15 17:02:59 +08:00
|
|
|
]
|
2023-03-11 00:26:30 +08:00
|
|
|
},
|
|
|
|
"compressors": {
|
|
|
|
"*.{html,css,js,svg,map}": [
|
|
|
|
"...",
|
|
|
|
"@parcel/compressor-gzip",
|
|
|
|
"@parcel/compressor-brotli"
|
|
|
|
]
|
2023-02-15 17:02:59 +08:00
|
|
|
}
|
|
|
|
}
|