Skip to content

Commit

Permalink
more formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanpodila committed Dec 27, 2023
1 parent 4a356cb commit cb251a0
Show file tree
Hide file tree
Showing 6 changed files with 352 additions and 110 deletions.
14 changes: 13 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,19 @@ module.exports = {
indexName: 'mobx_dart_flutter',
},
},
plugins: [path.resolve(__dirname, './plugins/fetch-versions')],
plugins: [
path.resolve(__dirname, './plugins/fetch-versions'),
function postCSSPlugin(context, options) {
return {
name: 'docusaurus-tailwindcss',
configurePostCss(postcssOptions) {
postcssOptions.plugins.push(require('tailwindcss'));
postcssOptions.plugins.push(require('autoprefixer'));
return postcssOptions;
},
};
},
],
presets: [
[
'classic',
Expand Down
29 changes: 16 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,34 @@
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/types": "^3.0.1",
"@types/lodash.get": "^4.4.9",
"@types/react": "^18.2.45",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"prism-react-renderer": "^2.3.1",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"webpack": "^5.89.0"
},
"peerDependencies": {
"@algolia/client-search": "^4.14.3",
"react-loadable": "^5.5.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Loading

0 comments on commit cb251a0

Please sign in to comment.