Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Suppress some warnings in production - #441

Merged
kazupon merged 1 commit into
kazupon:devfrom
exoego:suppress-some-warnings
Oct 14, 2018
Merged

Suppress some warnings in production#441
kazupon merged 1 commit into
kazupon:devfrom
exoego:suppress-some-warnings

Conversation

@exoego

@exoego exoego commented Oct 14, 2018

Copy link
Copy Markdown
Collaborator

(no related issue)
This PR complements #438.

I noticed that all process.env.NODE_ENV !== 'production' are removed in production mode (vue-i18n.min.js).
Such optimization can make vue-i18n.min.js smaller and faster a little.

So, this PR add process.env.NODE_ENV !== 'production' to some warning logs, where it seems appropriate.

@codecov-io

codecov-io commented Oct 14, 2018

Copy link
Copy Markdown

Codecov Report

Merging #441 into dev will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #441      +/-   ##
==========================================
+ Coverage   95.96%   95.97%   +<.01%     
==========================================
  Files           9        9              
  Lines         645      646       +1     
==========================================
+ Hits          619      620       +1     
  Misses         26       26
Impacted Files Coverage Δ
src/index.js 99.6% <100%> (ø) ⬆️
src/component.js 100% <100%> (ø) ⬆️

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 d75c90f...0f87ae7. Read the comment docs.

@kazupon kazupon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks!

@kazupon
kazupon merged commit 43931f5 into kazupon:dev Oct 14, 2018
@exoego
exoego deleted the suppress-some-warnings branch November 14, 2018 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants