mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
refactor: batch 3
This commit is contained in:
@@ -11,6 +11,7 @@ import { VitePWA } from 'vite-plugin-pwa';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
import { tryCommand } from './support/command';
|
||||
import { base64Loader } from './support/b64-loader';
|
||||
|
||||
const projectRoot = url.fileURLToPath(new URL('.', import.meta.url));
|
||||
const pkg = JSON.parse(fs.readFileSync(projectRoot + '/package.json', 'utf-8'));
|
||||
@@ -45,6 +46,7 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [
|
||||
tailwindcss(),
|
||||
base64Loader,
|
||||
replace({
|
||||
preventAssignment: true,
|
||||
values: {
|
||||
|
||||
Reference in New Issue
Block a user