Npm ant-design-pro project reported an error.

  git, question

clipboard.png

clipboard.png

clipboard.png

Next, Xiao Bai, may I ask the great gods what is wrong with this? ? ?

Not introducedbabel, orbabelConfiguration error.
Unexpected token importMistakes, in generales6The syntax has not been compiled.
The solution lies inloaderWhen usingbabelCompile it.

module: {
 loaders: [
 {
 test: /\.(js|jsx)$/,
 loader: 'babel-loader',
 include: [path.join(__dirname, './src')]
 }
 ]
 }