We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5851d75 commit 9d582b2Copy full SHA for 9d582b2
5 files changed
manage-dist.js
@@ -0,0 +1,8 @@
1
+const fs = require('fs/promises');
2
+
3
+(async () => {
4
+ await fs.rename('dist/index.js', 'dist/index.cjs');
5
+ await fs.rename('dist/esm/index.js', 'dist/index.mjs');
6
+ await fs.rm('dist/esm', { recursive: true });
7
+ await fs.rm('dist/types.js');
8
+})();
0 commit comments