Open vinothkbest opened 1 year ago
I configured like below. It works in "npm run dev" but error "npm run build".
defineNuxtConfig({
vite: {
optimizeDeps:{
esbuildOptions:{
plugins:[
esbuildCommonjs(['moment-business-days'])
]
}
},
build: {
modulePreload: { polyfill: true, }
}
}
})
I'm sorry, I have no experience with Nuxt so I wouldn't know where to start to assist you. I hope you can find a solution and share it here.
No solution still
When I use the code as in this repo, It works! I used the below snippet to set locale. New error is "momentBusinessDays.locale is not a function". What relevant function will be used for the below
momentBusinessDays.locale('us', { workingWeekdays: [1, 2, 3, 4, 5] })
I think you need to use updateLocale
method.
The latest 1.3.0 is not published. When will publish this ?
Kindly release new version boss
Hi sir, did you release this GitHub version in the npm?. It would be very helpful.