mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 05:52:50 +00:00
Ignore local require
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
6cc7655142
commit
c1beedce3f
|
|
@ -39,6 +39,7 @@ export default function (
|
|||
options: {
|
||||
emitFile: !isServer, // don't emit for server-side rendering
|
||||
disable: !isProd,
|
||||
// eslint-disable-next-line global-require
|
||||
adapter: require('@docusaurus/responsive-loader/sharp'),
|
||||
name: isProd
|
||||
? 'assets/ideal-img/[name].[hash:hex:7].[width].[ext]'
|
||||
|
|
|
|||
Loading…
Reference in New Issue