-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thread for reference: jestjs/jest#6229 * Updated jest config to compile packages published as ESM * Moved babel config from .babelrc to babel.config.js, .babelrc is not properly picked anymore in Babel v7 (see linked ref above)
- Loading branch information
1 parent
1539ed5
commit 9d0fddc
Showing
3 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
presets: ['@babel/preset-env', '@babel/react'], | ||
plugins: [ | ||
[ | ||
'formatjs', | ||
{ | ||
idInterpolationPattern: '[sha512:contenthash:base64:6]', | ||
ast: true, | ||
}, | ||
], | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters