refactor: export ES Module to esm folder

This commit is contained in:
Yuchen Liu 2019-03-27 17:51:34 +08:00
parent 464642ee3a
commit 052d82f510
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -66,6 +66,7 @@ typings/
# build output
lib/
esm
.DS_Store

View File

@ -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",