From 80ba0b86b810d975a3fe2eb09805cd60d90630f2 Mon Sep 17 00:00:00 2001 From: chencheng Date: Mon, 23 Apr 2018 12:29:35 +0800 Subject: [PATCH] fix: babel transform failed with transform-decorators-legacy --- .webpackrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.webpackrc.js b/.webpackrc.js index db3421fd..ce65d311 100755 --- a/.webpackrc.js +++ b/.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: { -- GitLab