소스 검색

fix: babel transform failed with transform-decorators-legacy

chencheng 8 년 전
부모
커밋
80ba0b86b8
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      .webpackrc.js

+ 0 - 1
.webpackrc.js

@@ -3,7 +3,6 @@ const path = require('path');
 export default {
   entry: 'src/index.js',
   extraBabelPlugins: [
-    'transform-decorators-legacy',
     ['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }],
   ],
   env: {