delete tailwind.config

This commit is contained in:
Andrew Pareles 2024-11-11 03:33:16 -08:00
parent f713a624f9
commit d01a5fc44c
2 changed files with 3 additions and 14 deletions

View file

@ -1,13 +1,12 @@
import { execSync } from 'child_process';
// clear out dirs
// clear temp dirs
execSync('npx rimraf out/ && npx rimraf src2/')
// tsup to build all react to out/
// build and scope tailwind
execSync('npx scope-tailwind ./src -o src2/ -s void-scope -c styles.css')
// build tailwind -> styles.css
// tsup to build src2/ into out/
execSync('tsup')
// the structure of files here MUST be shallow so that external = ../../ works

View file

@ -1,10 +0,0 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src2/**/*.{jsx,tsx}'], // uses these files to decide how to transform the css file
theme: {
extend: {},
},
plugins: [],
prefix: 'prefix-'
}