Skip to content

Commit

Permalink
docs(guides): mention outputPath and publicPath (#6124)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan authored Apr 30, 2022
1 parent 0bb033f commit 07502e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/guides/asset-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ import mainImage from './images/main.png';
img.src = mainImage; // '/dist/151cfcfa1bd74779aadb.png'
```

All `.png` files will be emitted to the output directory and their paths will be injected into the bundles.
All `.png` files will be emitted to the output directory and their paths will be injected into the bundles, besides, you can customize [`outputPath`](/configuration/module/#rulegeneratoroutputpath) and [`publicPath`](/configuration/module/#rulegeneratorpublicpath) for them.

### Custom output filename

Expand Down

1 comment on commit 07502e9

@vercel
Copy link

@vercel vercel bot commented on 07502e9 Apr 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.