Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(webpack.base): fix i18n ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Metnew committed Jul 15, 2017
1 parent 047c760 commit 39e4df2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webpack_config/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ let definePluginArgs = {
}

if (process.env.NODE_ENV === 'development') {
// XXX: don't use i18n plugin in development
definePluginArgs['i18n'] = ''
// ignore i18n plugin in development
definePluginArgs['i18n'] = (str) => {
return str
}'
}

module.exports = {
Expand Down

0 comments on commit 39e4df2

Please sign in to comment.