feat: manually mirror opencoze's code from bytedance
Change-Id: I09a73aadda978ad9511264a756b2ce51f5761adf
This commit is contained in:
15
common/_templates/rsbuild-web/rsbuild.config.ts
Normal file
15
common/_templates/rsbuild-web/rsbuild.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import tailwindcss from 'tailwindcss';
|
||||
import { pluginReact } from '@rsbuild/plugin-react';
|
||||
import { defineConfig } from '@rsbuild/core';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [pluginReact()],
|
||||
html: {
|
||||
template: './index.html',
|
||||
},
|
||||
tools: {
|
||||
postcss(config) {
|
||||
config.postcssOptions?.plugins?.push(tailwindcss);
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user