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-' -} -