mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 05:58:38 +02:00
fix(v2): ideal image assets should be served under ./assets (#4166)
This commit is contained in:
parent
24b1695adc
commit
823d0fe3c2
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ export default function (
|
|||
// eslint-disable-next-line
|
||||
adapter: require('@endiliey/responsive-loader/sharp'),
|
||||
name: isProd
|
||||
? 'ideal-img/[name].[hash:hex:7].[width].[ext]'
|
||||
: 'ideal-img/[name].[width].[ext]',
|
||||
? 'assets/ideal-img/[name].[hash:hex:7].[width].[ext]'
|
||||
: 'assets/ideal-img/[name].[width].[ext]',
|
||||
...options,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue