Open hasanparasteh opened 3 years ago
In order to make things also work for modern dev server/bundlers, moment-jalaali
needs a hybrid build with both esm/cjs support as-well. I could contribute if it's OK. @alitaheri @behrang
I'm not familiar with recent trends in JS development. I would appreciate any contribution. Just note that moment.js
itself is retiring and as a result, this library may not be that useful in the future.
After moment.js
ends maintaining the project, I think we all should migrate to Luxon
! Thanks for the great work you have done until now ❤️.
You're welcome. I'm happy that it has helped you, thanks to other members of the project.
if your app crash in run time try add this configuration to your vite.config.js
// ...
export default defineConfig({
// ...
resolve: {
mainFields: [
'browser',
'module',
'main',
'jsnext:main',
'jsnext'
]
}
})
Please consider adding the instruction of how can we use this project on Vite.js or either if you could make a Vite.js plugin that would be great.