Skip to content

Commit

Permalink
build(deps): updated despendencies to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Nov 3, 2023
1 parent 412565f commit 61ff2cd
Show file tree
Hide file tree
Showing 6 changed files with 3,518 additions and 1,810 deletions.
12 changes: 7 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@
"serve": "vite preview"
},
"dependencies": {
"@tiptap/vue-3": "^2.0.4",
"@twilio/voice-sdk": "^2.7.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vueuse/core": "^10.3.0",
"@vueuse/integrations": "^10.3.0",
"autoprefixer": "^10.4.14",
"feather-icons": "^4.28.0",
"frappe-ui": "^0.1.12",
"frappe-ui": "^0.1.14",
"pinia": "^2.0.33",
"postcss": "^8.4.5",
"socket.io-client": "^4.7.2",
"sortablejs": "^1.15.0",
"tailwindcss": "^3.3.3",
"vite": "^4.4.9",
"vue": "^3.3.4",
"vue-router": "^4.2.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.5",
"vite": "^4.4.9"
}
}
27 changes: 19 additions & 8 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,34 @@ import frappeui from 'frappe-ui/vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [frappeui(), vue({
script: {
defineModel: true,
propsDestructure: true
}
})],
plugins: [
frappeui(),
vue({
script: {
defineModel: true,
propsDestructure: true,
},
}),
],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
build: {
outDir: `../${path.basename(path.resolve('..'))}/public/frontend`,
outDir: '../crm/public/frontend',
emptyOutDir: true,
commonjsOptions: {
include: [/tailwind.config.js/, /node_modules/],
},
sourcemap: true,
},
optimizeDeps: {
include: ['frappe-ui > feather-icons', 'showdown', 'engine.io-client'],
include: [
'feather-icons',
'showdown',
'tailwind.config.js',
'engine.io-client',
],
},
})
Loading

0 comments on commit 61ff2cd

Please sign in to comment.