Home

tailwind-ctp-intellisense @19a550d0de1f3bfbc2a49297e9f7e0c53cfc1ca6 - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tailwind-ctp-intellisense / packages / tailwindcss-language-server / scripts / hashbang.mjs
- raw
1
2
3
4
5
6
7
8
import { readFileSync, writeFileSync } from 'fs'
import { dirname, resolve } from 'path'
import { fileURLToPath } from 'url'

let __dirname = dirname(fileURLToPath(import.meta.url))
let file = resolve(__dirname, '../bin/tailwindcss-language-server')

writeFileSync(file, '#!/usr/bin/env node\n' + readFileSync(file, 'utf-8'), 'utf-8')