Skip to content

Commit

Permalink
fix: tailwind was looking at wrong assets directory
Browse files Browse the repository at this point in the history
tailwind was looking at the assets directory of the website using this theme
instead of the assets directory of the theme itself
  • Loading branch information
Bonajo committed Feb 2, 2022
1 parent a82f26a commit c101b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path');

module.exports = {
content: [path.resolve(__dirname, 'layouts/**/*.{html,js}'), "./public/**/*.html", "./assets/**/*.js"],
content: [path.resolve(__dirname, 'layouts/**/*.{html,js}'), "./public/**/*.html", path.resolve(__dirname, 'assets/**/*.{ts,js}')],
safelist: [
'code-copy'
],
Expand Down

0 comments on commit c101b57

Please sign in to comment.