fix(v2): missing deps from preset-classic (#1662)

* fix(v2): missing deps from preset-classic

* nits

* changelog

* Update CHANGELOG.md
This commit is contained in:
Endi 2019-07-14 22:24:54 +07:00 committed by Yangshun Tay
parent dc15a51745
commit f77e96d28d
2 changed files with 10 additions and 2 deletions

View file

@ -13,7 +13,9 @@
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.21",
"@docusaurus/plugin-sitemap": "^2.0.0-alpha.21",
"@docusaurus/theme-classic": "^2.0.0-alpha.21",
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.21"
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.21",
"@docusaurus/plugin-google-analytics": "^2.0.0-alpha.21",
"@docusaurus/plugin-google-gtag": "^2.0.0-alpha.21"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0"

View file

@ -1,10 +1,16 @@
# Docusaurus 2 Changelog
## Unreleased
- Add missing dependencies on @docusaurus/preset-classic
## 2.0.0-alpha.21
- Fix babel-loader not transpiling docusaurus package
## 2.0.0-alpha.20
- Add copy codeblock button
- Added Google analytics and Google gtag plugins.
- Moved source components to `/src`. Please create a `website/src` directory and move your `/pages` and `/theme` code into it. This is to make it easier to integrate your website with external build/static analysis tooling (you can now just pass in `src/**/*.js` as the path to process).
- Added more documentation thanks to @wgao19.
@ -13,7 +19,7 @@
- Render 404.html page
- Improve SEO
- Clicking on the logo in the mobile sliding navigation will now bring you to the homepage.
- Performance
- Performance
- Disable webpack output pathinfo. Webpack has the ability to generate path info in the output bundle. However, this puts garbage collection pressure on projects that bundle thousands of modules. Not very useful for our case
- Drop cache-loader in CI and test environment because it has an initial overhead. We always start from scratch in vm instance like CI so cache-loader is useless
- Better splitchunks and babel default webpack config