Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commitf94700e

Browse files
committed
addremoveDefaultMessage option
1 parentae63fcf commitf94700e

File tree

16 files changed

+804
-89
lines changed

16 files changed

+804
-89
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
*.log
33
lib
44
test/fixtures/*/actual.json
5+
.nyc_output

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ If a message descriptor has a `description`, it'll be removed from the source af
5353

5454
-**`overrideIdFn`**: A function with the signature`(id: string, defaultMessage: string, description: string|object) => string` which allows you to override the ID both in the extracted javascript and messages.
5555

56+
-**`removeDefaultMessage`**: Remove`defaultMessage` field in generated js after extraction.
57+
5658
###Via Node API
5759

5860
The extract message descriptors are available via the`metadata` property on the object returned from Babel's`transform()` API:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp