Skip to content

Commit

Permalink
i18n: Ignore .native.js module from string extraction (#92890)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliyan authored Jul 23, 2024
1 parent 843c75d commit 663454e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"test-server:watch": "yarn run test-server --watch",
"tour-kit:storybook:start": "echo 'Deprecated, run `yarn workspace @automattic/tour-kit run storybook` instead'",
"translate": "rm -rf build/strings && mkdirp public && yarn translate:dependencies && yarn translate:calypso",
"translate:dependencies": "rm -rf build/dependency-strings && mkdirp build/strings && wp-babel-makepot './node_modules/@wordpress/**/build-module/**/*.js' --base './' --dir './build/dependency-strings' --output './build/strings/calypso-dependencies.pot'",
"translate:dependencies": "rm -rf build/dependency-strings && mkdirp build/strings && wp-babel-makepot './node_modules/@wordpress/**/build-module/**/*.js' --ignore '**/*.native.js' --base './' --dir './build/dependency-strings' --output './build/strings/calypso-dependencies.pot'",
"translate:calypso": "wp-babel-makepot './{client,packages,apps}/**/*.{js,jsx,ts,tsx}' --ignore '**/node_modules/**,**/test/**,**/*.d.ts' --base './' --dir './build/strings' --output './public/calypso-strings.pot'",
"tsc": "NODE_OPTIONS='--max-old-space-size=4096' tsc",
"typecheck": "yarn run tsc --project client",
Expand Down

0 comments on commit 663454e

Please sign in to comment.