Skip to content

Commit

Permalink
fix: include intl in dev mode
Browse files Browse the repository at this point in the history
Must be included all the time for ID generation to work
  • Loading branch information
jquense committed May 19, 2022
1 parent fbacbfe commit 40ed224
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/babel-preset/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,7 @@ function preset(api, explicitOptions = {}) {
messagesDir: 'build/messages',
};

if (!development) {
presets.push([intlPreset, intlOpts]);
}
presets.push([intlPreset, intlOpts]);
}

return {
Expand Down

0 comments on commit 40ed224

Please sign in to comment.