Skip to content

Commit

Permalink
refactor: export ES Module to esm folder
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuchenzh committed Mar 27, 2019
1 parent 464642e commit 052d82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ typings/

# build output
lib/
esm

.DS_Store

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start": "yarn storybook",
"test": "echo hmm...",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir lib/es",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:es",
"clean": "rimraf lib storybook-static",
"storybook": "start-storybook -p 6008",
Expand Down

0 comments on commit 052d82f

Please sign in to comment.