Re-add the emoji picker component
This commit is contained in:
parent
8e7e6cf3f7
commit
0aa1a9911f
2 changed files with 13 additions and 5 deletions
|
|
@ -2,10 +2,19 @@ import { defineConfig } from "vite";
|
|||
import vue from "@vitejs/plugin-vue2";
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
import Components from "unplugin-vue-components/vite";
|
||||
import { VuetifyResolver } from "unplugin-vue-components/resolvers";
|
||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
||||
|
||||
function VuetifyResolver() {
|
||||
return {
|
||||
type: 'component',
|
||||
resolve: (name) => {
|
||||
if (name.match(/^V[A-Z]/) && !name.includes("VEmojiPicker"))
|
||||
return { name, from: 'vuetify/lib' }
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue