Skip to content

Commit

Permalink
add local assests for tailwind-css-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Srivatsav K authored and Srivatsav K committed Oct 11, 2024
1 parent 48dbc6d commit 87642ea
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"lunr": "^2.3.9",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react-dom": "^18.0.0",
"docusaurus-tailwindcss-loader": "file:plugins/docusaurus-tailwindcss-loader"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.5.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins/docusaurus-tailwindcss-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (context, options) {
tagName: "link",
attributes: {
rel: "stylesheet",
href: "https://cdn.jsdelivr.net/npm/tailwindcss/dist/preflight.min.css",
href: "./preflight.min.css",
},
},
],
Expand Down
1 change: 1 addition & 0 deletions plugins/docusaurus-tailwindcss-loader/preflight.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87642ea

Please sign in to comment.