Skip to content

Commit

Permalink
feat: add i18n submodule (#270)
Browse files Browse the repository at this point in the history
Added `@gravity-ui/markdown-editor/i18n` submodule, which exports an instance of `i18n` and function `registerKeyset`.

This can be useful for packages with editor extensions.
  • Loading branch information
d3m1d0v committed Jun 10, 2024
1 parent c5e42b9 commit 23f71f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"require": "./build/cjs/core/index.js",
"import": "./build/esm/core/index.js"
},
"./i18n": {
"types": "./build/esm/i18n/i18n.d.ts",
"require": "./build/cjs/i18n/i18n.js",
"import": "./build/esm/i18n/i18n.js"
},
"./specs": {
"types": "./build/esm/extensions/specs.d.ts",
"require": "./build/cjs/extensions/specs.js",
Expand Down Expand Up @@ -111,6 +116,9 @@
"core": [
"./build/esm/core/index.d.ts"
],
"i18n": [
"./build/esm/i18n/i18n.d.ts"
],
"specs": [
"./build/esm/extensions/specs.d.ts"
],
Expand Down

0 comments on commit 23f71f1

Please sign in to comment.