mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
refactor: export ES Module to esm folder
This commit is contained in:
parent
464642ee3a
commit
052d82f510
1
.gitignore
vendored
1
.gitignore
vendored
@ -66,6 +66,7 @@ typings/
|
||||
|
||||
# build output
|
||||
lib/
|
||||
esm
|
||||
|
||||
.DS_Store
|
||||
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user