feat: integrate latest HMDesign design system updates
This commit is contained in:
1 parent
99faec189e
commit
1c4e0bb9a1
209 files changed
+8845
-552
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import path from "node:path"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import tailwindcss from "@tailwindcss/vite"
|
||||
import { defineConfig } from "vite"
|
||||
|
||||
export default defineConfig({
|
||||
base: "./",
|
||||
root: path.resolve(import.meta.dirname, "./src/exports/recruit"),
|
||||
plugins: [react(), tailwindcss()],
|
||||
publicDir: false,
|
||||
resolve: {
|
||||
alias: { "@": path.resolve(import.meta.dirname, "./src") },
|
||||
},
|
||||
build: {
|
||||
outDir: path.resolve(import.meta.dirname, "./dist-recruit"),
|
||||
emptyOutDir: true,
|
||||
cssCodeSplit: false,
|
||||
modulePreload: false,
|
||||
rollupOptions: {
|
||||
input: { index: path.resolve(import.meta.dirname, "./src/exports/recruit/index.html") },
|
||||
output: {
|
||||
format: "iife",
|
||||
entryFileNames: "assets/recruit-export.js",
|
||||
assetFileNames: "assets/[name]-[hash][extname]",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user