mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
feat(svgr): create new Docusaurus SVGR plugin (#10677)
This commit is contained in:
parent
750edc78ff
commit
df6f53a2f5
31 changed files with 1247 additions and 149 deletions
|
@ -148,6 +148,7 @@ The classic preset is shipped by default to new Docusaurus websites created with
|
|||
- [`@docusaurus/plugin-google-tag-manager`](./api/plugins/plugin-google-tag-manager.mdx)
|
||||
- [`@docusaurus/plugin-google-analytics`](./api/plugins/plugin-google-analytics.mdx) (**deprecated**)
|
||||
- [`@docusaurus/plugin-sitemap`](./api/plugins/plugin-sitemap.mdx)
|
||||
- [`@docusaurus/plugin-svgr`](./api/plugins/plugin-svgr.mdx)
|
||||
|
||||
The classic preset will relay each option entry to the respective plugin/theme.
|
||||
|
||||
|
@ -171,6 +172,8 @@ export default {
|
|||
pages: {},
|
||||
// Will be passed to @docusaurus/plugin-sitemap (false to disable)
|
||||
sitemap: {},
|
||||
// Will be passed to @docusaurus/plugin-svgr (false to disable)
|
||||
svgr: {},
|
||||
// Will be passed to @docusaurus/plugin-google-gtag (only enabled when explicitly specified)
|
||||
gtag: {},
|
||||
// Will be passed to @docusaurus/plugin-google-tag-manager (only enabled when explicitly specified)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue