Skip to content

Commit

Permalink
Remove unwanted plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dr5hn committed Oct 10, 2020
1 parent 4060ccb commit 9316805
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 981 deletions.
66 changes: 0 additions & 66 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,72 +19,6 @@ module.exports = {
},
plugins: [
'docusaurus-plugin-sass',
[
'@docusaurus/plugin-ideal-image',
{
quality: 70,
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
},
],
[
'@docusaurus/plugin-pwa',
{
debug: false,
offlineModeActivationStrategies: ['appInstalled', 'queryString'],
swRegister: false,
// swCustom: path.resolve(__dirname, 'src/sw.js'),
pwaHead: [
{
tagName: 'link',
rel: 'icon',
href: 'img/docusaurus.png',
},
{
tagName: 'link',
rel: 'manifest',
href: 'manifest.json',
},
{
tagName: 'meta',
name: 'theme-color',
content: 'rgb(37, 194, 160)',
},
{
tagName: 'meta',
name: 'apple-mobile-web-app-capable',
content: 'yes',
},
{
tagName: 'meta',
name: 'apple-mobile-web-app-status-bar-style',
content: '#000',
},
{
tagName: 'link',
rel: 'apple-touch-icon',
href: 'img/docusaurus.png',
},
{
tagName: 'link',
rel: 'mask-icon',
href: 'img/docusaurus.svg',
color: 'rgb(62, 204, 94)',
},
{
tagName: 'meta',
name: 'msapplication-TileImage',
content: 'img/docusaurus.png',
},
{
tagName: 'meta',
name: 'msapplication-TileColor',
content: '#000',
},
],
},
],
],
presets: [
[
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.65",
"@docusaurus/plugin-ideal-image": "^2.0.0-alpha.65",
"@docusaurus/plugin-pwa": "^2.0.0-alpha.65",
"@docusaurus/preset-classic": "2.0.0-alpha.65",
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.65",
"@mdx-js/react": "^1.5.8",
Expand Down
Loading

0 comments on commit 9316805

Please sign in to comment.