From d01a5fc44cda84a13359f63ae5fd1ffe03334dad Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Mon, 11 Nov 2024 03:33:16 -0800 Subject: [PATCH] delete tailwind.config --- src/vs/workbench/contrib/void/browser/react/build.js | 7 +++---- .../contrib/void/browser/react/tailwind.config.js | 10 ---------- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 src/vs/workbench/contrib/void/browser/react/tailwind.config.js diff --git a/src/vs/workbench/contrib/void/browser/react/build.js b/src/vs/workbench/contrib/void/browser/react/build.js index 1a1924b1..c9009272 100755 --- a/src/vs/workbench/contrib/void/browser/react/build.js +++ b/src/vs/workbench/contrib/void/browser/react/build.js @@ -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 diff --git a/src/vs/workbench/contrib/void/browser/react/tailwind.config.js b/src/vs/workbench/contrib/void/browser/react/tailwind.config.js deleted file mode 100644 index 43e0a6f2..00000000 --- a/src/vs/workbench/contrib/void/browser/react/tailwind.config.js +++ /dev/null @@ -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-' -} -