Skip to content

Commit bed2b35

Browse files
committed
Fix prettier plugin to use git build of Tailwind CSS
Symlink and build instead of adding a recursive dev dependency It breaks node < 16
1 parent 04cc215 commit bed2b35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
1919
"rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
2020
"prepublishOnly": "npm install --force && npm run swcify",
21+
"prestyle": "ln -nfs `pwd` node_modules/tailwindcss && npm run swcify",
2122
"style": "eslint .",
2223
"pretest": "npm run generate",
2324
"test": "jest",

0 commit comments

Comments
 (0)