diff --git a/docs/src/views/Usage.js b/docs/src/views/Usage.js index 62ac8cb46d..ebbc6dcc0e 100644 --- a/docs/src/views/Usage.js +++ b/docs/src/views/Usage.js @@ -151,16 +151,16 @@ const Usage = () => ( recipes with some of them. You can use them as start point for your projects.
-
- Webpack 3 fully supports Semantic UI React, it also supports Tree Shaking. Please ensure
+ Webpack 2/3 fully supports Semantic UI React, it also supports Tree Shaking. Please ensure
that you build your app in production mode before release, it will strip{' '}
propTypes
from your build.
- Webpack 2 tree shaking does not completely remove unused exports, there are numerous + Webpack 2/3 tree shaking does not completely remove unused exports, there are numerous issues that are long-standing bugs:
Semantic UI React imports will be not optimized, so we recommend to use
- babel-plugin-direct-import
in your builds. You can find example configuration
- in
+ babel-plugin-lodash
in your builds. You can find example configuration in
examples/webpack3
directory.
+ Webpack 4 fully supports Semantic UI React, it also fully supports Tree Shaking. Please
+ ensure that you build your app in production mode before release, it will strip{' '}
+ propTypes
from your build.
+
+ Please ensure that you're using semantic-ui-react@0.82.0
or higher because we
+ added the{' '}
+
+ sideEffects
+ {' '}
+ option in this release.
+