Skip to content

Commit 052d82f

Browse files
committed
refactor: export ES Module to esm folder
1 parent 464642e commit 052d82f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ typings/
6666

6767
# build output
6868
lib/
69+
esm
6970

7071
.DS_Store
7172

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"start": "yarn storybook",
1414
"test": "echo hmm...",
1515
"build:cjs": "tsc",
16-
"build:es": "tsc -m esNext --outDir lib/es",
16+
"build:es": "tsc -m esNext --outDir esm",
1717
"build": "yarn build:cjs && yarn build:es",
1818
"clean": "rimraf lib storybook-static",
1919
"storybook": "start-storybook -p 6008",

0 commit comments

Comments
 (0)