Skip to content

Commit 61ff2cd

Browse files
committed
build(deps): updated despendencies to latest
1 parent 412565f commit 61ff2cd

File tree

6 files changed

+3518
-1810
lines changed

6 files changed

+3518
-1810
lines changed

frontend/package.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@
99
"serve": "vite preview"
1010
},
1111
"dependencies": {
12-
"@tiptap/vue-3": "^2.0.4",
1312
"@twilio/voice-sdk": "^2.7.1",
14-
"@vitejs/plugin-vue": "^4.2.3",
1513
"@vueuse/core": "^10.3.0",
1614
"@vueuse/integrations": "^10.3.0",
17-
"autoprefixer": "^10.4.14",
1815
"feather-icons": "^4.28.0",
19-
"frappe-ui": "^0.1.12",
16+
"frappe-ui": "^0.1.14",
2017
"pinia": "^2.0.33",
21-
"postcss": "^8.4.5",
2218
"socket.io-client": "^4.7.2",
2319
"sortablejs": "^1.15.0",
2420
"tailwindcss": "^3.3.3",
2521
"vite": "^4.4.9",
2622
"vue": "^3.3.4",
2723
"vue-router": "^4.2.2"
24+
},
25+
"devDependencies": {
26+
"@vitejs/plugin-vue": "^4.2.3",
27+
"autoprefixer": "^10.4.14",
28+
"postcss": "^8.4.5",
29+
"vite": "^4.4.9"
2830
}
2931
}

frontend/vite.config.js

+19-8
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,34 @@ import frappeui from 'frappe-ui/vite'
55

66
// https://vitejs.dev/config/
77
export default defineConfig({
8-
plugins: [frappeui(), vue({
9-
script: {
10-
defineModel: true,
11-
propsDestructure: true
12-
}
13-
})],
8+
plugins: [
9+
frappeui(),
10+
vue({
11+
script: {
12+
defineModel: true,
13+
propsDestructure: true,
14+
},
15+
}),
16+
],
1417
resolve: {
1518
alias: {
1619
'@': path.resolve(__dirname, 'src'),
1720
},
1821
},
1922
build: {
20-
outDir: `../${path.basename(path.resolve('..'))}/public/frontend`,
23+
outDir: '../crm/public/frontend',
2124
emptyOutDir: true,
25+
commonjsOptions: {
26+
include: [/tailwind.config.js/, /node_modules/],
27+
},
2228
sourcemap: true,
2329
},
2430
optimizeDeps: {
25-
include: ['frappe-ui > feather-icons', 'showdown', 'engine.io-client'],
31+
include: [
32+
'feather-icons',
33+
'showdown',
34+
'tailwind.config.js',
35+
'engine.io-client',
36+
],
2637
},
2738
})

0 commit comments

Comments
 (0)