saeedrahimi / antd-jalali

A wrapper for ant-design date picker and calendar to support Jalali calendar type
https://saeedrahimi.github.io/antd-jalali/
83 stars 36 forks source link

Error in build #4

Closed mehdiraized closed 4 years ago

mehdiraized commented 4 years ago

nextjs v9.4.4 react 16.13.1

/node_modules/antd-jalali/dist/index.js:1
export { default as DatePicker } from "./DatePicker";
^^^^^^

SyntaxError: Unexpected token 'export'
    at wrapSafe (internal/modules/cjs/loader.js:1054:16)
    at Module._compile (internal/modules/cjs/loader.js:1102:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
TrueMoein commented 4 years ago

Same issue...

saeedrahimi commented 4 years ago

I've just updated the library and fixed some issues. Could you check it please?