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:
Tom Brien 2020-06-16 10:15:41 +01:00 committed by GitHub
parent 930222ea87
commit b77ae91247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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`