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

chore(build): fixes for UMD build #3085

Merged
merged 2 commits into from
Aug 13, 2018
Merged

chore(build): fixes for UMD build #3085

merged 2 commits into from
Aug 13, 2018

Conversation

layershifter
Copy link
Member

Fixes #3079.

Signed-off-by: Oleksandr Fediashov <[email protected]>
@@ -31,7 +32,8 @@ const plugins = [
[
'transform-react-remove-prop-types',
{
mode: 'wrap',
mode: isUMDBuild ? 'remove' : 'wrap',
removeImport: isUMDBuild,
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove propTypes fully from UMD build

@@ -15,8 +15,8 @@
"scripts": {
"build": "cross-env NODE_ENV=production gulp build",
"build:changelog": "github_changelog_generator --no-issues --no-unreleased --release-branch master --since-tag $(git describe --abbrev=0 --tags $(git rev-parse HEAD~300))",
"build:docs": "gulp --series dll build:docs",
"build:dist": "gulp --series dll build:dist",
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't need dll in dist and docs

@codecov-io
Copy link

codecov-io commented Aug 13, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3085   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files         163      163           
  Lines        2739     2739           
=======================================
  Hits         2737     2737           
  Misses          2        2

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 41f3729...73a4fdc. Read the comment docs.

new webpack.NoEmitOnErrorsPlugin(),
)
}

Copy link
Member Author

Choose a reason for hiding this comment

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

We are using react-static now, so we don't use __DEV__ variable.

@layershifter layershifter merged commit 5ead3ac into master Aug 13, 2018
@layershifter layershifter deleted the chore/fixes-umd branch August 13, 2018 13:38
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.

2 participants