Commit 80ba0b86 authored by chencheng's avatar chencheng Committed by ι™ˆεΈ…

fix: babel transform failed with transform-decorators-legacy

parent 7c7fb5e3
...@@ -3,7 +3,6 @@ const path = require('path'); ...@@ -3,7 +3,6 @@ const path = require('path');
export default { export default {
entry: 'src/index.js', entry: 'src/index.js',
extraBabelPlugins: [ extraBabelPlugins: [
'transform-decorators-legacy',
['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }], ['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }],
], ],
env: { env: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment