Skip to content

Commit c997529

Browse files
committed
refactor: setup utf16.js re-export
1 parent 7b7d3aa commit c997529

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"/single-byte.js",
123123
"/single-byte.d.ts",
124124
"/single-byte.node.js",
125+
"/utf16.js",
125126
"/utf16.d.ts",
126127
"/utf16.native.js",
127128
"/utf16.node.js",
@@ -204,7 +205,7 @@
204205
"types": "./utf16.d.ts",
205206
"node": "./utf16.node.js",
206207
"react-native": "./utf16.native.js",
207-
"default": "./utf16.native.js"
208+
"default": "./utf16.js"
208209
},
209210
"./utf8.js": {
210211
"types": "./utf8.d.ts",
@@ -225,6 +226,7 @@
225226
},
226227
"react-native": {
227228
"./encoding-browser.js": "./encoding-browser.native.js",
229+
"./utf16.js": "./utf16.native.js",
228230
"./fallback/utf8.auto.js": "./fallback/utf8.auto.native.js"
229231
},
230232
"peerDependencies": {

utf16.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './utf16.native.js'

0 commit comments

Comments
 (0)