Skip to content

Commit f226f8b

Browse files
authored
Address review comment to support ESM
1 parent 219fdf6 commit f226f8b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

dist/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
2-
'use strict'
3-
4-
if (process.env.NODE_ENV === 'production') {
5-
module.exports = require('./react-lite-yt-embed.cjs.production.min.js')
6-
} else {
7-
module.exports = require('./react-lite-yt-embed.cjs.development.js')
8-
}
1+
module.exports = require('./react-lite-yt-embed.esm.js')

0 commit comments

Comments
 (0)