docs(v2): fix changelog require.resolve mention
* Update change log The 2.0.0-alpha56 Change log does not make mention to the breaking change with plugin imports. The [GitHub release](https://github.com/facebook/docusaurus/releases/tag/v2.0.0-alpha.56) does. This has meant that dependabot has missed this change in it's pull requests (which seemed to use the changelog in some cases) * Fix typo Was in the source I copied from GH release
This commit is contained in:
parent
930222ea87
commit
b77ae91247
|
|
@ -4,6 +4,11 @@
|
|||
|
||||
#### :boom: Breaking Change
|
||||
|
||||
- If you refer to modules (plugins) in your config file in a string form, you will need to replace them with `require.resolve` calls, for example:
|
||||
```diff
|
||||
- plugins: ['@docusaurus/plugin-google-analytics']
|
||||
+ plugins: [require.resolve('@docusaurus/plugin-google-analytics')]
|
||||
```
|
||||
- `docusaurus-theme-classic`
|
||||
- [#2818](https://github.com/facebook/docusaurus/pull/2818) feat(v2): automatically add base url to logo link ([@lex111](https://github.com/lex111))
|
||||
- `docusaurus-theme-classic`, `docusaurus-theme-search-algolia`
|
||||
|
|
|
|||
Loading…
Reference in New Issue