mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-22 06:37:11 +08:00
feat(desktop): add client extension points
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
const path = require('path')
|
||||
|
||||
// When '@product' points outside this project (COW_PRODUCT_DIR), scan that
|
||||
// directory too so classes used only there still get generated.
|
||||
const productContent = process.env.COW_PRODUCT_DIR
|
||||
? [path.join(process.env.COW_PRODUCT_DIR, '**/*.{tsx,ts}')]
|
||||
: []
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ['./src/renderer/**/*.{html,tsx,ts}'],
|
||||
content: ['./src/renderer/**/*.{html,tsx,ts}', ...productContent],
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
extend: {
|
||||
|
||||
Reference in New Issue
Block a user