|
|
@@ -3,11 +3,15 @@ import vuetify from 'vite-plugin-vuetify'
|
|
|
|
|
|
let https = {}
|
|
|
|
|
|
+let transpile = ['vuetify', '@vuepic/vue-datepicker', 'pinia', 'pinia-orm', 'date-fns']
|
|
|
+
|
|
|
if (process.env.NUXT_ENV === 'dev') {
|
|
|
https = {
|
|
|
key: fs.readFileSync('env/local.app.opentalent.fr.key'),
|
|
|
cert: fs.readFileSync('env/local.app.opentalent.fr.crt'),
|
|
|
}
|
|
|
+
|
|
|
+ transpile.push('lodash')
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -158,6 +162,6 @@ export default defineNuxtConfig({
|
|
|
provider: 'none'
|
|
|
},
|
|
|
build: {
|
|
|
- transpile: ['vuetify', '@vuepic/vue-datepicker', 'pinia', 'pinia-orm', 'date-fns'],
|
|
|
+ transpile: transpile,
|
|
|
}
|
|
|
})
|