From fb11771704c4ae493f7613e38d6ee970ee1ac243 Mon Sep 17 00:00:00 2001 From: chrisdugne Date: Sat, 27 Feb 2021 21:30:25 +0100 Subject: [PATCH] added cjs and esm files to package --- scripts/build-package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build-package.sh b/scripts/build-package.sh index 6018336..c189a8e 100644 --- a/scripts/build-package.sh +++ b/scripts/build-package.sh @@ -1,8 +1,9 @@ echo '☢️ preparing package...' mkdir dist.package -cp readme.md dist.package/. +cp -r dist/cjs dist.package/. +cp -r dist/esm dist.package/. +cp -r src/middlewares dist.package/. cp readme.md dist.package/. cp license dist.package/. cp package.json dist.package/. -cp -r src/middlewares dist.package/. echo '☢️ dist.package ready.'