mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This adds support for `images.localPatterns` config to allow specific local images to be optimized and (more importantly) block anything that doesn't match a pattern.
11 lines
135 B
JavaScript
11 lines
135 B
JavaScript
module.exports = {
|
|
images: {
|
|
localPatterns: [
|
|
{
|
|
pathname: '/assets/**',
|
|
search: '',
|
|
},
|
|
],
|
|
},
|
|
}
|