mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
chore(v2): fix code style (revert previous changes)
This commit is contained in:
parent
1480a7eb80
commit
1f00d15c74
143 changed files with 457 additions and 458 deletions
|
@ -10,7 +10,7 @@ import {Configuration} from 'webpack';
|
|||
|
||||
import path from 'path';
|
||||
|
||||
export default function(_context: LoadContext, options: PluginOptions) {
|
||||
export default function (_context: LoadContext, options: PluginOptions) {
|
||||
const isProd = process.env.NODE_ENV === 'production';
|
||||
|
||||
return {
|
||||
|
|
|
@ -18,7 +18,7 @@ function Image(props) {
|
|||
width={img.src.width || 100}
|
||||
placeholder={{lqip: img.preSrc}}
|
||||
src={img.src.src}
|
||||
srcSet={img.src.images.map(image => ({
|
||||
srcSet={img.src.images.map((image) => ({
|
||||
...image,
|
||||
src: image.path,
|
||||
}))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue