0

I start a taro + react project, build show mini-css-extract-plugin warning:

Error: chunk common [mini-css-extract-plugin] Conflicting order. Following module has been added: ***

how to solve it?

zsytssk
  • 702
  • 1
  • 6
  • 14

1 Answers1

0

in config/index.js file add follow setting in mini config:

mini: {
    enableExtract:true,
    miniCssExtractPluginOption: {
        ignoreOrder: true
    },
}

link for origin answer: https://juejin.cn/post/7036177994301308936

zsytssk
  • 702
  • 1
  • 6
  • 14