Skip to content

Commit 1ec3505

Browse files
committed
feat: use esm file to invoke tree-shaking feature
1 parent fb20b0b commit 1ec3505

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
module.exports = require('./react-lite-yt-embed.cjs.production.min.js')
2+
module.exports = require('./react-lite-yt-embed.esm.js')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.5",
2+
"version": "1.2.6",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

0 commit comments

Comments
 (0)