mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 14:08:21 +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
|
// eslint-disable-next-line
|
||||||
adapter: require('@endiliey/responsive-loader/sharp'),
|
adapter: require('@endiliey/responsive-loader/sharp'),
|
||||||
name: isProd
|
name: isProd
|
||||||
? 'ideal-img/[name].[hash:hex:7].[width].[ext]'
|
? 'assets/ideal-img/[name].[hash:hex:7].[width].[ext]'
|
||||||
: 'ideal-img/[name].[width].[ext]',
|
: 'assets/ideal-img/[name].[width].[ext]',
|
||||||
...options,
|
...options,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue