Skip to content

添加插件报错 #128

@theFG1998

Description

@theFG1998
const MomentLocalesPlugin = require('@ant-design/moment-webpack-plugin');
module.exports = ({ context, onGetWebpackConfig }) => {
  // 这里面可以写哪些,具体请查看插件开发章节
  onGetWebpackConfig((config) => {
    config.plugin('moment').use(MomentLocalesPlugin);
  });
}

抛出:
Screenshot 2023-05-08 at 11 06 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions