mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
delete tailwind.config
This commit is contained in:
parent
f713a624f9
commit
d01a5fc44c
2 changed files with 3 additions and 14 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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-'
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue