Skip to content

Commit

Permalink
ideal image outputs should be under ./assets
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 3, 2021
1 parent 9fc30b3 commit ff23f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-ideal-image/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down

0 comments on commit ff23f38

Please sign in to comment.