Skip to content

Commit 863f46e

Browse files
committed
build: esm build should be es6 not esnext
1 parent af86059 commit 863f46e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-text-loop-next",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Create an animated loop of a list of text for your headings",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

tsconfig.esm.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"module": "esnext",
4+
"module": "es6",
55
"outDir": "dist/esm",
6-
"target": "esnext"
6+
"target": "es6"
77
}
88
}

0 commit comments

Comments
 (0)