diff --git a/docs/app/Views/Usage.js b/docs/app/Views/Usage.js index 2c1e94909c..40e57bdf6d 100644 --- a/docs/app/Views/Usage.js +++ b/docs/app/Views/Usage.js @@ -5,6 +5,8 @@ import { Button, Container, Header, + List, + Message, Segment, } from 'src' import Logo from '../Components/Logo/Logo' @@ -173,6 +175,54 @@ const Usage = () => ( icon='github' labelPosition='left' /> + +
Webpack 2
+

+ Webpack 2 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 issues that are + long-standing bugs: +

+ + webpack/webpack#1750} + /> + webpack/webpack#2867} + /> + webpack/webpack#2899} + /> + webpack/webpack#3092} + /> + +

+ Semantic UI React imports will be not optimized, so we recommend to use babel-plugin-lodash in + your builds. You can find example configuration in examples directory. +

+
+ +