antd-dayjs-webpack-plugin
antd-dayjs-webpack-plugin copied to clipboard
⏰ Day.js webpack plugin for Ant Design
`ERROR in ./node_modules/antd-dayjs-webpack-plugin/src/init-dayjs-webpack-plugin-entry.js` `Module build failed (from ./node_modules/antd-dayjs-webpack-plugin/src/init-loader.js):` `Error: Cannot find module 'loader-utils'` Using Webpack 5.72.0
fix #62
#36 umi 3.5.17 MFSU enable antd ^4.16.7 it happened in dev mode,production env not test
报错
I am currently using NextJS with this webpack plugin within the `next.config.js`. When I attempt to update to use webpack version 5 with NextJS I get the following build error....
使用脚手架 [getting-started](https://pro.ant.design/zh-CN/docs/getting-started) 生成代码运行报错,内容如下: ``` Uncaught TypeError: moment__WEBPACK_IMPORTED_MODULE_0___default(...).isMoment is not a function at convertMoment (:8000/mf-dep_vendors-node_modules_ant-design_pro-form_es_components_SchemaForm_index_js-node_modules_ant-d-8f7d67.81f9a20e.async.js:10698) at :8000/mf-dep_vendors-node_modules_ant-design_pro-form_es_components_SchemaForm_index_js-node_modules_ant-d-8f7d67.81f9a20e.async.js:10770 at Array.forEach () at conversionMomentValue (:8000/mf-dep_vendors-node_modules_ant-design_pro-form_es_components_SchemaForm_index_js-node_modules_ant-d-8f7d67.81f9a20e.async.js:10731) at :8000/mf-dep_vendors-node_modules_ant-design_pro-form_es_components_SchemaForm_index_js-node_modules_ant-d-8f7d67.81f9a20e.async.js:4664 at :8000/mf-dep_vendors-node_modules_ant-design_pro-form_es_components_SchemaForm_index_js-node_modules_ant-d-8f7d67.81f9a20e.async.js:4721 at invokePassiveEffectCreate (:8000/mf-dep_vendors-node_modules_react-dom_index_js.7bb20710.async.js:23491) at...
ERROR in ./node_modules/antd-dayjs-webpack-plugin/src/init-dayjs-webpack-plugin-entry.js Module build failed (from ./node_modules/antd-dayjs-webpack-plugin/src/init-loader.js): TypeError: getOptions is not a function
1. 已經在vue.config.js做設定 *  2. 在date-picker顯示會有問題, 全部都是同一天 * 