We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b324880 commit 916fc61Copy full SHA for 916fc61
1 file changed
.github/workflows/build_test_release.yml
@@ -105,6 +105,12 @@ jobs:
105
cp LICENSE "${dist_dir}/LICENSE"
106
107
npm pkg set version="${RELEASE_VERSION}" --prefix "${dist_dir}"
108
+ npm pkg set main="./index.js" --prefix "${dist_dir}"
109
+ npm pkg set module="./index.mjs" --prefix "${dist_dir}"
110
+ npm pkg set types="./index.d.ts" --prefix "${dist_dir}"
111
+ npm pkg set exports[.].types="./index.d.ts" --prefix "${dist_dir}"
112
+ npm pkg set exports[.].import="./index.mjs" --prefix "${dist_dir}"
113
+ npm pkg set exports[.].require="./index.js" --prefix "${dist_dir}"
114
npm pkg delete scripts --prefix "${dist_dir}"
115
npm pkg delete devDependencies --prefix "${dist_dir}"
116
done
0 commit comments