Commit 9d529ea0 authored by Arunoda Susiripala's avatar Arunoda Susiripala Committed by GitHub

Remove babell-plugin-transform-react-constant-elements. (#1102)

* Remove babell-plugin-transform-react-constant-elements.
With this, our shared-modules example's counter won't work in
production mode. (as this plugin enabled)
So, we could see more issues like this.
That's why we don't need this at this time.

* Update package.json.
parent 77c14f96
...@@ -6,7 +6,6 @@ const envPlugins = { ...@@ -6,7 +6,6 @@ const envPlugins = {
require.resolve('babel-plugin-transform-react-jsx-source') require.resolve('babel-plugin-transform-react-jsx-source')
], ],
'production': [ 'production': [
require.resolve('babel-plugin-transform-react-constant-elements'),
require.resolve('babel-plugin-transform-react-remove-prop-types') require.resolve('babel-plugin-transform-react-remove-prop-types')
] ]
} }
......
This diff is collapsed.
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