Skip to content

Commit

Permalink
Update extractClassNames.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fsubal authored Nov 3, 2023
1 parent 02af32d commit 693df23
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ import postcssSelectorParser from "postcss-selector-parser";
export async function extractClassNames(input, preset) {
const plugin = tailwindcss({
presets: [preset],
content: [{ raw: '', extension: 'html' }],
content: [
// contentを空にするとwarningが出るので適当なものを入れている
// 別に真似する必要はない
{ raw: '', extension: 'html' }
],
safelist: [
{
// 一切purgeしない
Expand Down

0 comments on commit 693df23

Please sign in to comment.