Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): fix in webpack3 examples #2561

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Conversation

layershifter
Copy link
Member

Fixes #2559.

}
]}],
"lodash"
["lodash", {"id": ["lodash", "semantic-ui-react"]}]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

babel-plugin-direct-import seems doesn't work at all 😞 Replaced with babel-plugin-lodash

@@ -7,34 +7,39 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"semantic-ui-less": "^2.2.12",
"semantic-ui-react": "^0.77.0"
"semantic-ui-react": "^0.78.2"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to latest SUIR 👍

"webpack-bundle-analyzer": "^2.10.0",
"webpack-dev-server": "^2.11.1",
"webpack-manifest-plugin": "^1.3.2",
"webpack-merge": "^4.1.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added missing deps and updated existing

@@ -1,5 +1,5 @@
@import '~heading.less';

.container {
margin-top: @relative64px;
padding-top: @relative64px;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong top there was ⭐

@codecov-io
Copy link

Codecov Report

Merging #2561 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2561   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         160      160           
  Lines        2744     2744           
=======================================
  Hits         2737     2737           
  Misses          7        7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 426e844...c236d90. Read the comment docs.

@layershifter layershifter merged commit 8e13323 into master Feb 22, 2018
@layershifter
Copy link
Member Author

Tested locally, everything works as expected 👍 Merged

@layershifter layershifter deleted the fix/example-webpack branch February 22, 2018 19:24
@progrookie
Copy link

Thanks for the fix!!!

@levithomason
Copy link
Member

Released in semantic-ui-react@0.78.3.

Brantron pushed a commit to Brantron/Semantic-UI-React that referenced this pull request Mar 14, 2018
bmbarker90 added a commit to bmbarker90/Semantic-UI-React that referenced this pull request Jun 20, 2018
It appears that in Semantic-Org#2561 the decision was made to switch to using babel-plugin-lodash, but the description of how direct imports are handled was not updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants